[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-8386: - Fix Version/s: (was: 3.0.0) > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 0.23.5 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Berner updated HADOOP-8386: --- Attachment: hadoop.diff Suggested patch > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 0.20.205.0, 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Berner updated HADOOP-8386: --- Status: Patch Available (was: Open) Fixes the 'hadoop' script to work on Ubuntu distro and others where the 'cd' command prints to stdout > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2, 0.20.205.0 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-8386: - Fix Version/s: (was: 3.0.0) > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 0.23.5 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-8386: - Fix Version/s: 3.0.0 > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 3.0.0, 0.23.5 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Affects Version/s: (was: 0.20.205.0) > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Isaacson updated HADOOP-8386: -- Attachment: hadoop-8386.diff Uploading version of Christopher's patch that test-patch can apply. > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Isaacson updated HADOOP-8386: -- Attachment: hadoop-8386-1.diff Let's try that again, against trunk rather than branch-1 this time. > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop-8386-1.diff, hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Attachment: hadoop-8386-1.diff Thanks Chris and Andy. Fixed mapred, yarn, and hdfs scripts as well (for trunk). > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Target Version/s: 1.2.0, 3.0.0 Hadoop Flags: Reviewed > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Assignee: Christopher Berner > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Resolution: Fixed Fix Version/s: 3.0.0 1.2.0 Status: Resolved (was: Patch Available) I've committed the fix for both trunk and branch-1 scripts. Thanks Christopher and Andy! > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 3.0.0 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J updated HADOOP-8386: Target Version/s: (was: 1.2.0, 3.0.0) > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 3.0.0 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HADOOP-8386) hadoop script doesn't work if 'cd' prints to stdout (default behavior in Ubuntu)
[ https://issues.apache.org/jira/browse/HADOOP-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Joseph Evans updated HADOOP-8386: Fix Version/s: 0.23.5 I pulled this into branch-0.23 > hadoop script doesn't work if 'cd' prints to stdout (default behavior in > Ubuntu) > > > Key: HADOOP-8386 > URL: https://issues.apache.org/jira/browse/HADOOP-8386 > Project: Hadoop Common > Issue Type: Bug > Components: scripts >Affects Versions: 1.0.2 > Environment: Ubuntu >Reporter: Christopher Berner >Assignee: Christopher Berner > Fix For: 1.2.0, 3.0.0, 0.23.5 > > Attachments: hadoop-8386-1.diff, hadoop-8386-1.diff, > hadoop-8386.diff, hadoop.diff > > > if the 'hadoop' script is run as 'bin/hadoop' on a distro where the 'cd' > command prints to stdout, the script will fail due to this line: 'bin=`cd > "$bin"; pwd`' > Workaround: execute from the bin/ directory as './hadoop' > Fix: change that line to 'bin=`cd "$bin" > /dev/null; pwd`' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira