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

Masatake Iwasaki commented on HDFS-8362:
----------------------------------------

Thanks for reporting this, [~mohammad]. Maven seems to work fine even if 
sources are placed in the directory mismatching to the package. IDEs such as 
Eclipse may complain about this.

Though moving files to relevant directory has smaller effect, I think it is OK 
to change the package names because they are not imported from anywhere in 
hadoop and [compatibility 
guide|http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html#Build_artifacts]
 states that tests are strictly for internal use.

I'm +1(non-binding) for this.


> Java Compilation Error in TestHdfsConfigFields.java and 
> TestMapreduceConfigFields.java
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-8362
>                 URL: https://issues.apache.org/jira/browse/HDFS-8362
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Arshad Mohammad
>            Assignee: Arshad Mohammad
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8362-1.patch
>
>
> in TestHdfsConfigFields.java failure is because of wrong package name.
> in TestMapreduceConfigFields.java failure i s becuase of:
> i) wrong package name
> ii) missing imports



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to