[ 
https://issues.apache.org/jira/browse/CHUKWA-302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720441#action_12720441
 ] 

Eric Yang commented on CHUKWA-302:
----------------------------------

The current patch will fall back to CHUKWA_HOME/hadoopjar for the hadoop jar 
file.  Since the hadoopjar in CHUKWA_HOME is package and supplied by chukwa at 
build time, it should always be compatible.  If it's standalone web server, it 
is unlikely user would have HADOOP_HOME or HADOOP_JAR defined.  

In the remote case which the user has HADOOP_HOME defined in chukwa-env.shand 
cause the agent to break due to version incompatibility.  We could add some 
extra wording in chukwa-env.sh to prevent this case from happening.


> Chukwa Agent unable to start up and running
> -------------------------------------------
>
>                 Key: CHUKWA-302
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-302
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: data collection
>    Affects Versions: 0.2.0
>         Environment: Redhat EL 5.1, Java 6
>            Reporter: Eric Yang
>            Priority: Blocker
>             Fix For: 0.2.0
>
>         Attachments: CHUKWA-302.patch
>
>
> agent.sh is hard coded with HADOOP_20_JAR.  However, this may not reflect the 
> correct running version of the hadoop library.  agent.sh should obey 
> HADOOP_JAR variable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to