hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhouyanming (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-739) "Go to parent directory" link broken running on windows
Date Tue, 27 Oct 2009 08:32:59 GMT
"Go to parent directory" link broken running on windows
-------------------------------------------------------

                 Key: HDFS-739
                 URL: https://issues.apache.org/jira/browse/HDFS-739
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: data-node
    Affects Versions: 0.20.1
         Environment: windows
            Reporter: zhouyanming


src/webapps/datanode/browseDirectory.jsp

File f = new File(dir);
      String parent;
      if ((parent = f.getParent()) != null)
        out.print("<a href=\"" + req.getRequestURL() + "?dir=" + parent +
                  "&namenodeInfoPort=" + namenodeInfoPort +
                  "\">Go to parent directory</a><br>");

File.getParent() return separator  "\" not "/"

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


Mime
View raw message