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

          amith created issue -
          amith made changes -
          Field Original Value New Value
          Summary HDFS Balancer scripts are broken HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh
          Description HDFS Balancer scripts are broken HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh

          HOST-10-18-40-95:/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.
          amith made changes -
          Description HDFS Balancer scripts are refering to wrong path of hadoop-daemon.sh

          HOST-10-18-40-95:/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.
          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.
          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
          amith made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          amith made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          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
          amith made changes -
          Attachment HDFS-3165.patch [ 12520605 ]
          amith made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          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.
          amith made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          amith made changes -
          Attachment HDFS-3165.patch [ 12521322 ]
          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
          amith made changes -
          Attachment HDFS-3165.patch [ 12521457 ]
          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
          Devaraj K made changes -
          Link This issue is duplicated by HADOOP-7838 [ HADOOP-7838 ]
          amith made changes -
          Attachment HDFS-3165_1.patch [ 12521982 ]
          amith made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          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.
          Uma Maheswara Rao G made changes -
          Affects Version/s 2.0.0 [ 12320353 ]
          Affects Version/s 3.0.0 [ 12320356 ]
          Affects Version/s 1.0.1 [ 12319502 ]
          Target Version/s 2.0.0, 3.0.0 [ 12320353, 12320356 ]
          Component/s scripts [ 12312931 ]
          Component/s balancer [ 12313153 ]
          Hide
          Uma Maheswara Rao G added a comment -

          +1 lgtm

          Show
          Uma Maheswara Rao G added a comment - +1 lgtm
          Eli Collins made changes -
          Assignee amith [ amithdk ]
          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.
          Eli Collins made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Affects Version/s 3.0.0 [ 12320356 ]
          Target Version/s 3.0.0, 2.0.0 [ 12320356, 12320353 ] 2.0.0 [ 12320353 ]
          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!
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Patch Available Patch Available Open Open
          5d 2h 26m 2 amith 04/Apr/12 16:56
          Open Open Patch Available Patch Available
          5d 7h 12m 3 amith 09/Apr/12 19:23
          Patch Available Patch Available Resolved Resolved
          7d 6h 29m 1 Eli Collins 17/Apr/12 01:52

            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