[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-03 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043327#comment-13043327
 ] 

Hudson commented on HDFS-2014:
--

Integrated in Hadoop-Hdfs-trunk #686 (See 
[https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk/686/])
HDFS-2014. Change HDFS scripts to work in developer enviroment post RPM 
packaging changes. Contributed by Eric Yang.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1130843
Files : 
* /hadoop/hdfs/trunk/bin/stop-balancer.sh
* /hadoop/hdfs/trunk/bin/stop-secure-dns.sh
* /hadoop/hdfs/trunk/bin/start-balancer.sh
* /hadoop/hdfs/trunk/bin/start-secure-dns.sh
* /hadoop/hdfs/trunk/bin/distribute-exclude.sh
* /hadoop/hdfs/trunk/bin/hdfs
* /hadoop/hdfs/trunk/bin/hdfs-config.sh
* /hadoop/hdfs/trunk/bin/start-dfs.sh
* /hadoop/hdfs/trunk/bin/refresh-namenodes.sh
* /hadoop/hdfs/trunk/bin/stop-dfs.sh
* /hadoop/hdfs/trunk/CHANGES.txt


 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-03 Thread Eric Yang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043454#comment-13043454
 ] 

Eric Yang commented on HDFS-2014:
-

Aaron, the developer setup is set HADOOP_COMMON_HOME to source code directory 
rather than the built artifacts directory, hence hdfs-config.sh will pick up 
HADOOP_COMMON_HOME/bin/hadoop-config.sh instead of 
build/hadoop-common-x.y.z/libexec/hadoop-config.sh.  Hope this helps.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-03 Thread Aaron T. Myers (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043865#comment-13043865
 ] 

Aaron T. Myers commented on HDFS-2014:
--

Eric, I totally agree. The observation I'm making is that the `bin-package' 
targets don't seem to work as-is.

It used to be that you could do the following:

# Run {{`ant bin-package'}} in your hadoop-common checkout.
# Set {{HADOOP_COMMON_HOME}} to the built directory of hadoop-common.
# Run {{`ant bin-package'}} in your hadoop-hdfs checkout.
# Set {{HADOOP_HDFS_HOME}} to the built directory of hadoop-hdfs.
# Set {{PATH}} to have {{HADOOP_HDFS_HOME/bin}} and {{HADOOP_COMMON_HOME/bin}} 
on it.
# Run {{`hdfs'}}.

This no longer works since {{hdfs-config.sh}} is looking in 
{{HADOOP_COMMON_HOME/bin/}} for {{hadoop-config.sh}}, but it's being placed in 
{{HADOOP_COMMON_HOME/libexec}}.

I realize this is somewhat different than the original observation in this 
JIRA, but the two are highly related ({{hdfs-config.sh}} looking in the wrong 
place for {{hadoop-config.sh}}.) Feel free to say this should be filed as a new 
JIRA.

As an aside, the title of this JIRA should probably be changed to something 
like bin/hdfs no longer works from a source checkout.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-03 Thread Eric Yang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043912#comment-13043912
 ] 

Eric Yang commented on HDFS-2014:
-

Aaron, HADOOP_COMMON_HOME and HADOOP_HDFS_HOME are the parameters that Owen 
proposed to remove for production deployment to prevent admin/user errors in 
setting those environment variables.  Hence, this is the reason that build 
directory artifact is not suppose to interact with HADOOP_COMMON_HOME 
environment variable.  This change requires admin to use ant bin-package and 
untar the artifacts to a common directory to run.

I will change the JIRA to your recommendation.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Bharath Mundlapudi (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043079#comment-13043079
 ] 

Bharath Mundlapudi commented on HDFS-2014:
--

I have tested this patch on few cases like hdfs format and upgrade etc. This 
patch works. Without this patch users will run into issues for the trunk. can 
someone commit this patch if you don't have any comments?

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Suresh Srinivas (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043084#comment-13043084
 ] 

Suresh Srinivas commented on HDFS-2014:
---

hdfs-config.sh - you many want check for the existence of file instead of 
directory for HADOOP_COMMON_HOME and HADOOP_HOME

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Suresh Srinivas (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043086#comment-13043086
 ] 

Suresh Srinivas commented on HDFS-2014:
---

+1 for the patch. I am going to commit it. If there are any further comments - 
it could be addressed in a newer jira.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043102#comment-13043102
 ] 

Hudson commented on HDFS-2014:
--

Integrated in Hadoop-Hdfs-trunk-Commit #707 (See 
[https://builds.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/707/])
HDFS-2014. Change HDFS scripts to work in developer enviroment post RPM 
packaging changes. Contributed by Eric Yang.

suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1130843
Files : 
* /hadoop/hdfs/trunk/bin/stop-balancer.sh
* /hadoop/hdfs/trunk/bin/stop-secure-dns.sh
* /hadoop/hdfs/trunk/bin/start-balancer.sh
* /hadoop/hdfs/trunk/bin/start-secure-dns.sh
* /hadoop/hdfs/trunk/bin/distribute-exclude.sh
* /hadoop/hdfs/trunk/bin/hdfs
* /hadoop/hdfs/trunk/bin/hdfs-config.sh
* /hadoop/hdfs/trunk/bin/start-dfs.sh
* /hadoop/hdfs/trunk/bin/refresh-namenodes.sh
* /hadoop/hdfs/trunk/bin/stop-dfs.sh
* /hadoop/hdfs/trunk/CHANGES.txt


 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043126#comment-13043126
 ] 

Hadoop QA commented on HDFS-2014:
-

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12481293/HDFS-2014-2.patch
  against trunk revision 1130734.

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

+1 tests included.  The patch appears to include 4 new or modified tests.

+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 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 core unit tests.

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

+1 system test framework.  The patch passed system test framework compile.

Test results: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/693//testReport/
Findbugs warnings: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/693//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/693//console

This message is automatically generated.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-02 Thread Aaron T. Myers (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13043155#comment-13043155
 ] 

Aaron T. Myers commented on HDFS-2014:
--

Is there some corresponding Common patch which needs to go in as well? 
{{bin/hdfs}} still isn't working for me with a fresh checkout. Running {{ant 
bin-package}} in Common results in {{hadoop-config.sh}} being put in 
$HADOOP_COMMON_HOME/libexec, but {{hdfs-config.sh}} isn't looking for it in 
there, so I'm getting:

{noformat}
$ hdfs
Hadoop common not found.
{noformat}

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014-2.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-01 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13042481#comment-13042481
 ] 

Todd Lipcon commented on HDFS-2014:
---

actually, this still has an issue in that webapps are not located correctly.

bin/hdfs is looking at $HADOOP_PREFIX/build/webapps, which is pointing to 
COMMON_HOME/build/webapps, rather than HDFS_HOME/build/webapps.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-06-01 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13042577#comment-13042577
 ] 

Hadoop QA commented on HDFS-2014:
-

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

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

+1 tests included.  The patch appears to include 4 new or modified tests.

+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 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 failed these core unit tests:
  org.apache.hadoop.hdfs.TestDFSUpgradeFromImage
  org.apache.hadoop.hdfs.TestHDFSTrash

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

+1 system test framework.  The patch passed system test framework compile.

Test results: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/682//testReport/
Findbugs warnings: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/682//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/682//console

This message is automatically generated.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014-1.patch, HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-31 Thread Eli Collins (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041656#comment-13041656
 ] 

Eli Collins commented on HDFS-2014:
---

It's very useful for developers to be able to run the software w/o having to 
build/install a tarball, eg if I just want to make a one-line change to the 
code I can recompile, that's much faster than re-building/unpacking a tarball. 
Eg here's how my dev script uses the hdfs command today: 
https://github.com/elicollins/hadoop-dev/blob/master/bin/datanode.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Priority: Critical
 Fix For: 0.23.0


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-31 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041737#comment-13041737
 ] 

Todd Lipcon commented on HDFS-2014:
---

looks good to me. Owen, want to take a look as well?

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-31 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041751#comment-13041751
 ] 

Hadoop QA commented on HDFS-2014:
-

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

+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 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 core unit tests.

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

+1 system test framework.  The patch passed system test framework compile.

Test results: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/666//testReport/
Findbugs warnings: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/666//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/hudson/job/PreCommit-HDFS-Build/666//console

This message is automatically generated.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Assignee: Eric Yang
Priority: Critical
 Fix For: 0.23.0

 Attachments: HDFS-2014.patch


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-30 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041270#comment-13041270
 ] 

Todd Lipcon commented on HDFS-2014:
---

it also expects to find libexec/hadoop-config.sh in the hdfs checkout, which 
isn't correct either

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Priority: Critical
 Fix For: 0.23.0


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-30 Thread Eric Yang (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041401#comment-13041401
 ] 

Eric Yang commented on HDFS-2014:
-

How about?

{noformat}
if [ -d $bin/../libexec ]; then
  . $bin/../libexec/hadoop-config.sh
elif [ -e ${HADOOP_HDFS_HOME}/bin/hadoop-config.sh ]; then
  . $HADOOP_HDFS_HOME/bin/hadoop-config.sh
else
  echo Hadoop common not found.
  exit
fi
{noformat}


 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Priority: Critical
 Fix For: 0.23.0


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HDFS-2014) RPM packages broke bin/hdfs script

2011-05-30 Thread Allen Wittenauer (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13041416#comment-13041416
 ] 

Allen Wittenauer commented on HDFS-2014:


Why should a source checkout be expected to work like a binary distribution?  
It is fairly common that one does a build and an install in order for something 
to work.  I think it is realistic to expect Hadoop to drift towards that as 
well.

 RPM packages broke bin/hdfs script
 --

 Key: HDFS-2014
 URL: https://issues.apache.org/jira/browse/HDFS-2014
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: scripts
Affects Versions: 0.23.0
Reporter: Todd Lipcon
Priority: Critical
 Fix For: 0.23.0


 bin/hdfs now appears to depend on ../libexec, which doesn't exist inside of a 
 source checkout:
 todd@todd-w510:~/git/hadoop-hdfs$ ./bin/hdfs namenode
 ./bin/hdfs: line 22: 
 /home/todd/git/hadoop-hdfs/bin/../libexec/hdfs-config.sh: No such file or 
 directory
 ./bin/hdfs: line 138: cygpath: command not found
 ./bin/hdfs: line 161: exec: : not found

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira