[ 
https://issues.apache.org/jira/browse/HDFS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731227#action_12731227
 ] 

zhiyong zhang commented on HDFS-481:
------------------------------------

Yes, I agree. how about <import file="${hadoop.root}/build.xml"/> in 
src/contrib/hdfsproxy/build.xml? It seems pretty clumsy though. I think it 
would be better to define hadoop-version in a build.properties instead of in 
build.xml in the hdfs trunk. That way every contrib can import this property 
file without importing too much.  I don't understand why it has <property 
file="${basedir}/build.properties" /> line in the $HADOOP_HDFS_HOME/build.xml 
file while there is no such file in the directory. 

> hadoop-version is not recognized if run ant command from src/contrib/ or from 
> src/contrib/hdfsproxy  
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-481
>                 URL: https://issues.apache.org/jira/browse/HDFS-481
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: contrib/hdfsproxy
>    Affects Versions: 0.21.0
>            Reporter: zhiyong zhang
>            Assignee: zhiyong zhang
>         Attachments: HDFS-481.patch
>
>
> If running ant command from $HADOOP_HDFS_HOME, hadoop-version will be passed 
> to contrib's build through subant. But if running from src/contrib or 
> src/contrib/hdfsproxy, the hadoop-version will not be recognized. 

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