You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2012/08/09 00:59:21 UTC

[jira] [Created] (HADOOP-8664) hadoop streaming job need the full path to commands even when they are in the path

Bikas Saha created HADOOP-8664:
----------------------------------

             Summary: hadoop streaming job need the full path to commands even when they are in the path
                 Key: HADOOP-8664
                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Bikas Saha
            Assignee: Bikas Saha


run a hadoop streaming job as
bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
will fail saying program cat not found. cat is in the path and works from cmd prompt.
If i give the full path to cmd.exe the exception is not seen

--
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-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bikas Saha updated HADOOP-8664:
-------------------------------

    Attachment: HADOOP-8664.branch-1-win.1.patch

Path was being overriden incorrectly. Fixed.
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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] [Commented] (HADOOP-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Lauren Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443363#comment-13443363 ] 

Lauren Yang commented on HADOOP-8664:
-------------------------------------

+1.  Thank you!
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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] [Commented] (HADOOP-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449237#comment-13449237 ] 

Suresh Srinivas commented on HADOOP-8664:
-----------------------------------------

+1 for the patch. I will commit this to branch-1-win
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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] [Commented] (HADOOP-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Ivan Mitic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443348#comment-13443348 ] 

Ivan Mitic commented on HADOOP-8664:
------------------------------------

+1, patch looks good, thanks Bikas!
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suresh Srinivas updated HADOOP-8664:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1-win
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

I committed the patch. Thank you Bikas.
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>             Fix For: 1-win
>
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Bikas Saha (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bikas Saha updated HADOOP-8664:
-------------------------------

    Status: Patch Available  (was: Open)
    
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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] [Commented] (HADOOP-8664) hadoop streaming job need the full path to commands even when they are in the path

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442875#comment-13442875 ] 

Hadoop QA commented on HADOOP-8664:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12542706/HADOOP-8664.branch-1-win.1.patch
  against trunk revision .

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

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1375//console

This message is automatically generated.
                
> hadoop streaming job need the full path to commands even when they are in the path
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8664
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8664
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>         Attachments: HADOOP-8664.branch-1-win.1.patch
>
>
> run a hadoop streaming job as
> bin/hadoop jar path_to_streaming_jar -input path_on_hdfs -mapper cat -output path_on_hdfs -reducer cat
> will fail saying program cat not found. cat is in the path and works from cmd prompt.
> If i give the full path to cmd.exe the exception is not seen

--
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