Re: Class Placement

2016-01-13 Thread Daniel Templeton
I love that idea. I'll go that way. Daniel On 1/13/16 1:55 PM, Steve Loughran wrote: Dan -could you have some tests which write to file:// in hadoop-common? They'd be precommit, and any hdfs-ones would be for verifying hdfs compatibility (if you really need that final check). If you do it r

Re: Class Placement

2016-01-13 Thread Steve Loughran
Dan -could you have some tests which write to file:// in hadoop-common? They'd be precommit, and any hdfs-ones would be for verifying hdfs compatibility (if you really need that final check). If you do it right, you could have common test code in hadoop-common-test, which hadoop-hdfs-test could

Class Placement

2016-01-06 Thread Daniel Templeton
I'm working on an HDFS sink for metrics2 to allow daemons to log metrics into HDFS. In order to test the new sink, I need access to the MiniDFSCluster, which I don't have from the common package, where the code for all the other metrics2 sinks lives. Any objection to putting the unit test cod