You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Benjamin Heitmann (Created) (JIRA)" <ji...@apache.org> on 2012/03/21 17:51:40 UTC

[jira] [Created] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
----------------------------------------------------------------------------------------------------------------

                 Key: GIRAPH-163
                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
             Project: Giraph
          Issue Type: Improvement
          Components: conf and scripts
    Affects Versions: 0.1.0, 0.2.0
         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
Also Hadoop 1.0.1 was used. 
            Reporter: Benjamin Heitmann


If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 

Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

--
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] [Commented] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

Posted by "Avery Ching (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236409#comment-13236409 ] 

Avery Ching commented on GIRAPH-163:
------------------------------------

+1, Thanks Benjamin, I've committed it.
                
> bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-163
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
>             Project: Giraph
>          Issue Type: Improvement
>          Components: conf and scripts
>    Affects Versions: 0.1.0, 0.2.0
>         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
> Also Hadoop 1.0.1 was used. 
>            Reporter: Benjamin Heitmann
>              Labels: newbie
>         Attachments: GIRAPH-163.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
> This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 
> Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

--
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] [Commented] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236412#comment-13236412 ] 

Hudson commented on GIRAPH-163:
-------------------------------

Integrated in Giraph-trunk-Commit #91 (See [https://builds.apache.org/job/Giraph-trunk-Commit/91/])
    GIRAPH-163: bin/giraph script overwrites CLASSPATH if "dev
environment" detected (this also removes USER_JAR from CLASSPATH)
(metaman via aching). (Revision 1304208)

     Result = SUCCESS
aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1304208
Files : 
* /incubator/giraph/trunk/CHANGELOG
* /incubator/giraph/trunk/bin/giraph

                
> bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-163
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
>             Project: Giraph
>          Issue Type: Improvement
>          Components: conf and scripts
>    Affects Versions: 0.1.0, 0.2.0
>         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
> Also Hadoop 1.0.1 was used. 
>            Reporter: Benjamin Heitmann
>            Assignee: Benjamin Heitmann
>              Labels: newbie
>         Attachments: GIRAPH-163.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
> This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 
> Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

--
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] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

Posted by "Benjamin Heitmann (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Heitmann updated GIRAPH-163:
-------------------------------------

    Attachment: GIRAPH-163.patch

this is a small patch to fix the described problem
                
> bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-163
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
>             Project: Giraph
>          Issue Type: Improvement
>          Components: conf and scripts
>    Affects Versions: 0.1.0, 0.2.0
>         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
> Also Hadoop 1.0.1 was used. 
>            Reporter: Benjamin Heitmann
>              Labels: newbie
>         Attachments: GIRAPH-163.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
> This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 
> Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

--
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] [Commented] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

Posted by "Eugene Koontz (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234590#comment-13234590 ] 

Eugene Koontz commented on GIRAPH-163:
--------------------------------------

Looks good to me; +1.
                
> bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-163
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
>             Project: Giraph
>          Issue Type: Improvement
>          Components: conf and scripts
>    Affects Versions: 0.1.0, 0.2.0
>         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
> Also Hadoop 1.0.1 was used. 
>            Reporter: Benjamin Heitmann
>              Labels: newbie
>         Attachments: GIRAPH-163.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
> This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 
> Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

--
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] [Assigned] (GIRAPH-163) bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)

Posted by "Avery Ching (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Avery Ching reassigned GIRAPH-163:
----------------------------------

    Assignee: Benjamin Heitmann
    
> bin/giraph script overwrites CLASSPATH if "dev environment" detected (this also removes USER_JAR from CLASSPATH)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: GIRAPH-163
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-163
>             Project: Giraph
>          Issue Type: Improvement
>          Components: conf and scripts
>    Affects Versions: 0.1.0, 0.2.0
>         Environment: current trunk of giraph, after running "mvn compile" (as advised in the quick start guide). 
> Also Hadoop 1.0.1 was used. 
>            Reporter: Benjamin Heitmann
>            Assignee: Benjamin Heitmann
>              Labels: newbie
>         Attachments: GIRAPH-163.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If no ./lib dir is present, then the bin/giraph script assumes it is running in a "dev environment". 
> This chooses an execution path through the bin/giraph script, which overwrites the CLASSPATH variable instead of appending to it. 
> Incidentally, this also removes the name of the jar submitted by the user, which got appended to CLASSPATH earlier in the script. 

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