Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # dev - pre-historic record IO stuff, is this used anywhere?


Copy link to this message
-
pre-historic record IO stuff, is this used anywhere?
Alejandro Abdelnur 2013-02-09, 01:18
This seems to be used only in tests in common and in a standalone class in
streaming tests.

What is the purpose of these classes as they don't seem to be used in the
any of the source that ends up in Hadoop?

hadoop-common-project/hadoop-common/src/test/ddl/buffer.jr
hadoop-common-project/hadoop-common/src/test/ddl/int.jr
hadoop-common-project/hadoop-common/src/test/ddl/string.jr
hadoop-common-project/hadoop-common/src/test/ddl/test.jr
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/FromCpp.java
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/RecordBench.java
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/TestBuffer.java
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/TestRecordIO.java
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/TestRecordVersioning.java
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/record/ToCpp.java
hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/typedbytes/TestIO.java
I've deleted the above classes, cleaned up the common POM (not to compile
the JR files) and everything compiles fine.

To me all this is dead code, if so, can we nuke them?

Thx

--
Alejandro