FAQ
[ http://issues.apache.org/jira/browse/HADOOP-344?page=comments#action_12422571 ]

Doug Cutting commented on HADOOP-344:
-------------------------------------

Wouldn't it be better to change DF to do 'new File(path).getCanonicalPath()', rather than change the caller?
TaskTracker passes incorrect file path to DF under cygwin
---------------------------------------------------------

Key: HADOOP-344
URL: http://issues.apache.org/jira/browse/HADOOP-344
Project: Hadoop
Issue Type: Bug
Affects Versions: 0.4.0
Environment: Windows
Reporter: Konstantin Shvachko
Assigned To: Konstantin Shvachko
Attachments: TaskTrackerDF.patch


The path that is passed is OS dependent. The File abstraction should be used in order to make it universal.
I'm attaching a patch that does that.
We might want to change the path parameter for DF. Making it File rather than String should prevent us from
bugs like that in the future.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 10 | next ›
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJul 5, '06 at 10:15p
activeJul 25, '06 at 9:02a
posts10
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Doug Cutting (JIRA): 10 posts

People

Translate

site design / logo © 2022 Grokbase