Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3165

HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      HDFS Balancer

      Description

      HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh

      HOST-xx-xx-xx-xx:/home/amith/V1R2/namenode1/sbin # ./start-balancer.sh
      ./start-balancer.sh: line 27: /home/amith/V1R2/namenode1/bin/hadoop-daemon.sh: No such file or directory

      currently hadoop-daemon.sh script is in sbin and not bin.

      1. HDFS-3165.patch
        0.9 kB
        amith
      2. HDFS-3165.patch
        1 kB
        amith
      3. HDFS-3165.patch
        1 kB
        amith
      4. HDFS-3165_1.patch
        1 kB
        amith

        Issue Links

          Activity

          Hide
          Uma Maheswara Rao G added a comment -

          Thanks for testing balancer.
          Good finding. Are you planning to put the patch for this issue?

          Show
          Uma Maheswara Rao G added a comment - Thanks for testing balancer. Good finding. Are you planning to put the patch for this issue?
          Hide
          amith added a comment -

          Yes I will provide eod

          Show
          amith added a comment - Yes I will provide eod
          Hide
          amith added a comment -

          Hi uma here is a patch for the bug
          can u review

          Show
          amith added a comment - Hi uma here is a patch for the bug can u review
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12520605/HDFS-3165.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2126//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12520605/HDFS-3165.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2126//console This message is automatically generated.
          Hide
          amith added a comment -

          Sorry for the delay in providing the correct patch.
          please accept the new patch which is attached newly

          Show
          amith added a comment - Sorry for the delay in providing the correct patch. please accept the new patch which is attached newly
          Hide
          amith added a comment -

          Since it is script change no testcases are added to the patch

          Show
          amith added a comment - Since it is script change no testcases are added to the patch
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12521982/HDFS-3165_1.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in .

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2231//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2231//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12521982/HDFS-3165_1.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/2231//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2231//console This message is automatically generated.
          Hide
          Uma Maheswara Rao G added a comment -

          +1 lgtm

          Show
          Uma Maheswara Rao G added a comment - +1 lgtm
          Hide
          Eli Collins added a comment -

          +1, looks good. I built a tarball and verified that the balancer now runs via the start script.

          Show
          Eli Collins added a comment - +1, looks good. I built a tarball and verified that the balancer now runs via the start script.
          Hide
          Eli Collins added a comment -

          I've committed this and merged to branch-2. Thanks Amith!

          Show
          Eli Collins added a comment - I've committed this and merged to branch-2. Thanks Amith!
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #2156 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2156/)
          HDFS-3165. HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848)

          Result = SUCCESS
          eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2156 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2156/ ) HDFS-3165 . HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #2083 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2083/)
          HDFS-3165. HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848)

          Result = SUCCESS
          eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2083 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2083/ ) HDFS-3165 . HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848) Result = SUCCESS eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #2097 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2097/)
          HDFS-3165. HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848)

          Result = ABORTED
          eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2097 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2097/ ) HDFS-3165 . HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848) Result = ABORTED eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1017/)
          HDFS-3165. HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848)

          Result = FAILURE
          eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1017/ ) HDFS-3165 . HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1052 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1052/)
          HDFS-3165. HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848)

          Result = FAILURE
          eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1052 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1052/ ) HDFS-3165 . HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh. Contributed by Amith D K (Revision 1326848) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1326848 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-balancer.sh /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-balancer.sh

            People

            • Assignee:
              amith
              Reporter:
              amith
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development