[jira] [Created] (HADOOP-11043) Use Path Instead of String in DistCp Tests

2014-09-01 Thread Gary Steelman (JIRA)
Gary Steelman created HADOOP-11043:
--

 Summary: Use Path Instead of String in DistCp Tests
 Key: HADOOP-11043
 URL: https://issues.apache.org/jira/browse/HADOOP-11043
 Project: Hadoop Common
  Issue Type: Improvement
  Components: tools/distcp
Reporter: Gary Steelman
Priority: Minor


Many DistCp tests mix String and Path for files for no real reason. This patch 
aligns use to Path.



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


[jira] [Created] (HADOOP-11034) ViewFileSystem is missing getStatus(Path)

2014-08-29 Thread Gary Steelman (JIRA)
Gary Steelman created HADOOP-11034:
--

 Summary: ViewFileSystem is missing getStatus(Path)
 Key: HADOOP-11034
 URL: https://issues.apache.org/jira/browse/HADOOP-11034
 Project: Hadoop Common
  Issue Type: Bug
  Components: viewfs
Reporter: Gary Steelman


This patch implements ViewFileSystem#getStatus(Path), which is currently 
unimplemented.

getStatus(Path) should return the FsStatus of the FileSystem backing the path. 
Currently it returns the same as getStatus(), which is a default Long.MAX_VALUE 
for capacity, 0 used, and Long.MAX_VALUE for remaining space. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (HADOOP-11032) Replace use of Guava Stopwatch with Apache StopWatch

2014-08-29 Thread Gary Steelman (JIRA)
Gary Steelman created HADOOP-11032:
--

 Summary: Replace use of Guava Stopwatch with Apache StopWatch
 Key: HADOOP-11032
 URL: https://issues.apache.org/jira/browse/HADOOP-11032
 Project: Hadoop Common
  Issue Type: Improvement
Reporter: Gary Steelman


This patch reduces Hadoop's dependency on an old version of guava. 
Stopwatch.elapsedMillis() isn't part of guava past v16 and the tools I'm 
working on use v17. 

To remedy this and also reduce Hadoop's reliance on old versions of guava, we 
can use the Apache StopWatch (org.apache.commons.lang.time.StopWatch) which 
provides nearly equivalent functionality. apache.commons.lang is already a 
dependency for Hadoop so this will not introduce new dependencies. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (HADOOP-11009) Add Timestamp Preservation to DistCp

2014-08-26 Thread Gary Steelman (JIRA)
Gary Steelman created HADOOP-11009:
--

 Summary: Add Timestamp Preservation to DistCp
 Key: HADOOP-11009
 URL: https://issues.apache.org/jira/browse/HADOOP-11009
 Project: Hadoop Common
  Issue Type: Improvement
  Components: tools/distcp
Affects Versions: 2.4.0
Reporter: Gary Steelman


Currently access and modification times are not preserved on files copied using 
DistCp. This patch adds an option to DistCp for timestamp preservation. 

The patch ready, but I understand there is a Contributor form I need to sign 
before I can upload it. Can someone point me in the right direction for this 
form? Thanks!



--
This message was sent by Atlassian JIRA
(v6.2#6252)