<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Viet,<br>
      <br>
          It looks your Hadoop namenode was not correctly formatted and
      started. It's a very common hadoop problem. The solution I usually
      use is 1) first kill running hadoop processes if you have any; 2)
      clean the files and directories; 3) try namenode format again. In
      your case, the clean command should be "rm -rf
      /tmp/hadoop-cloudera*"<br>
      <br>
      <pre class="moz-signature" cols="72">Best wishes

Sincerely yours

Jianwu WANG, Ph.D.
<a class="moz-txt-link-abbreviated" href="mailto:jianwu@sdsc.edu">jianwu@sdsc.edu</a>
<a class="moz-txt-link-freetext" href="http://users.sdsc.edu/~jianwu/">http://users.sdsc.edu/~jianwu/</a>

Assistant Director for Research
Workflows for Data Science (WorDS) Center of Excellence
San Diego Supercomputer Center (SDSC)
University of California, San Diego (UCSD)</pre>
      On 9/28/14, 8:02 AM, Viet Truong Xuan wrote:<br>
    </div>
    <blockquote
cite="mid:CAPaN2a=YDn6aNL_+dh+Stuc2S-iD+9inhQgUq-pKyc5oT8b-1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi Mr. Jianwu Wang,<br>
                <br>
              </div>
              Thanks for for answer, the cloudera@localhost's password
              is already entered (it's not showed in the screen as
              usual). I have changed the the permission to the <i>root</i>
              user, but it's not run yet.<br>
              I have tried to run bin/format-namenode.sh, it seems
              better but there exist still errors:<br>
              <br>
              <i>localhost/<a moz-do-not-send="true"
                  href="http://127.0.0.1:54310" target="_blank">127.0.0.1:54310</a>.
                Already tried 0 time(s).<br>
                ...<br>
                Bad connection to FS. command aborted<br>
                <br>
              </i></div>
            If you have some advises for this problem?<i><br>
              <br>
            </i></div>
          Thanks<i>,<br>
            <br>
          </i></div>
        Viet<i><br>
        </i></div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Sep 28, 2014 at 7:00 PM, Viet
          Truong Xuan <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:txviet26@gmail.com" target="_blank">txviet26@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>Hi Mr. Jianwu Wang,<br>
                  <br>
                </div>
                Thanks for for answer, the cloudera@localhost's password
                is already entered (it's not showed in the screen as
                usual). I have changed the the permission to the <i>root</i>
                user, but it's not run yet.<br>
                <br>
              </div>
              I have tried to run bin/format-namenode.sh, it seems
              better but the there are still errors:<br>
              <br>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Sun, Sep 28, 2014 at 9:12
                    AM, Jianwu Wang <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:jianwu@sdsc.edu" target="_blank">jianwu@sdsc.edu</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div>Hi Viet,<br>
                          <br>
                              Your messages include
                          "cloudera@localhost's password", which
                          probably means you didn't set up ssh localhost
                          login without password. It might cause some
                          problems.<br>
                          <br>
                              One more thing worthy to be noted is that
                          you should run bin/format-namenode.sh before
                          bin/start-hadoop.sh to format namenode.<br>
                          <pre cols="72">Best wishes

Sincerely yours

Jianwu WANG, Ph.D.
<a moz-do-not-send="true" href="mailto:jianwu@sdsc.edu" target="_blank">jianwu@sdsc.edu</a>
<a moz-do-not-send="true" href="http://users.sdsc.edu/%7Ejianwu/" target="_blank">http://users.sdsc.edu/~jianwu/</a>

Assistant Director for Research
Workflows for Data Science (WorDS) Center of Excellence
San Diego Supercomputer Center (SDSC)
University of California, San Diego (UCSD)</pre>
                          <div>
                            <div> On 9/27/14, 8:33 AM, Viet Truong Xuan
                              wrote:<br>
                            </div>
                          </div>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div>
                              <div dir="ltr">
                                <div>
                                  <div>
                                    <div>
                                      <div>Dear all,<br>
                                        <br>
                                        I'm trying to run the examples
                                        of Hadoop on Kepler 2.4, but get
                                        some problems with it.<br>
                                      </div>
                                      When I start the Hadoop service
                                      (with correct passwords as
                                      required) with:<br>
                                      <b>bin/start-hadoop.sh<br>
                                      </b><br>
                                      <i>The output is as the following
                                        and <span
                                          style="color:rgb(255,0,0)">the
                                          worklows cannot be run:</span></i><br>
                                      <br>
                                      bin<br>
                                      bin=.<br>
bin=/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin<br>
                                      starting namenode, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-namenode-quickstart.cloudera.out<br>
                                      cloudera@localhost's password: <br>
                                      localhost: starting datanode,
                                      logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-datanode-quickstart.cloudera.out<br>
                                      cloudera@localhost's password: <br>
                                      localhost: starting
                                      secondarynamenode, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-secondarynamenode-quickstart.cloudera.out<br>
                                      localhost: Exception in thread
                                      "main"
                                      java.lang.NoClassDefFoundError:
                                      com.sun.security.auth.UnixPrincipal<br>
                                      localhost:    at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:313)<br>
                                      localhost:    at
                                      java.lang.Class.initializeClass(libgcj.so.10)<br>
                                      localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.initialize(SecondaryNameNode.java:144)<br>
                                      localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.<init>(SecondaryNameNode.java:125)<br>
                                      localhost:    at
org.apache.hadoop.hdfs.server.namenode.SecondaryNameNode.main(SecondaryNameNode.java:579)<br>
                                      DEPRECATED: Use of this script to
                                      execute hdfs command is
                                      deprecated.<br>
                                      Instead use the hdfs command for
                                      it.<br>
                                      <br>
                                      Exception in thread "main"
                                      java.lang.NoClassDefFoundError:
                                      com.sun.security.auth.UnixPrincipal<br>
                                         at
org.apache.hadoop.security.UserGroupInformation.<clinit>(UserGroupInformation.java:313)<br>
                                         at
                                      java.lang.Class.initializeClass(libgcj.so.10)<br>
                                         at
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1953)<br>
                                         at
org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1945)<br>
                                         at
                                      org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1807)<br>
                                         at
                                      org.apache.hadoop.fs.FileSystem.get(FileSystem.java:265)<br>
                                         at
                                      org.apache.hadoop.fs.FileSystem.get(FileSystem.java:146)<br>
                                         at
                                      org.apache.hadoop.fs.FsShell.init(FsShell.java:85)<br>
                                         at
                                      org.apache.hadoop.hdfs.tools.DFSAdmin.run(DFSAdmin.java:981)<br>
                                         at
                                      org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:69)<br>
                                         at
                                      org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:83)<br>
                                         at
                                      org.apache.hadoop.hdfs.tools.DFSAdmin.main(DFSAdmin.java:1068)<br>
                                      starting jobtracker, logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-jobtracker-quickstart.cloudera.out<br>
                                      cloudera@localhost's password: <br>
                                      localhost: starting tasktracker,
                                      logging to
/home/cloudera/KeplerData/workflows/module/hadoop-1.0.0/tools/bin/../logs/hadoop-cloudera-tasktracker-quickstart.cloudera.out<b><br>
                                        <br>
                                      </b></div>
                                    If there are some body can give me a
                                    help?<br>
                                    <br>
                                  </div>
                                  Thanks,<br>
                                  <br>
                                </div>
                                Truong Xuan Viet<b><br>
                                </b></div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                            </div>
                          </div>
                          <span>
                            <pre>_______________________________________________
Kepler-dev mailing list
<a moz-do-not-send="true" href="mailto:Kepler-dev@kepler-project.org" target="_blank">Kepler-dev@kepler-project.org</a>
<a moz-do-not-send="true" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
                          </span></blockquote>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>