[ 
https://issues.apache.org/jira/browse/HADOOP-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

navychen updated HADOOP-405:
----------------------------

        Fix Version/s: 0.11.0
    Affects Version/s:     (was: 0.4.0)
                       0.10.1
               Status: Patch Available  (was: Open)

1, there are 2 identical files:
src\webapps\datanode\browseDirectory.jsp
and
src\webapps\dfs\browseDirectory.jsp
2, "dfs/browseDirectory.jsp" is a newest version than 
"datanode/browseDirectory.jsp"
3, hadoop actually build the "dfs/browseDirectory.jsp" to 
"build/src/org/apache/hadoop/dfs/browseDirectory_jsp.java", and dosen't compile 
"datanode/browseDirectory.jsp" yet

so the solution is
1, remove "src/webapps/datanode/browseDirectory.jsp" file 
2, remove line "<copy file="${src.webapps}/datanode/browseDirectory.jsp" 
todir="${src.webapps}/dfs/"/>" in build.xml 

> Duplicate browseDirectory.jsp
> -----------------------------
>
>                 Key: HADOOP-405
>                 URL: https://issues.apache.org/jira/browse/HADOOP-405
>             Project: Hadoop
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.10.1
>            Reporter: Konstantin Shvachko
>         Assigned To: navychen
>            Priority: Minor
>             Fix For: 0.11.0
>
>         Attachments: 405.patch
>
>
> I found 2 identical files
> src\webapps\datanode\browseDirectory.jsp
> and
> src\webapps\dfs\browseDirectory.jsp
> And there is a line in build.xml that makes the copy
>     <copy file="${src.webapps}/datanode/browseDirectory.jsp" 
> todir="${src.webapps}/dfs/"/>
> That does not seem right. If one of them is a copy of another, then only one 
> should be in svn.
> Another thing is that while copying files to the build/ directory is OK, 
> copying files around within
> the source directories makes things complicated. Is there a way to avoid that?

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