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

Switch to Threaded View
Sqoop, mail # dev - Review Request: Cleaned up error codes in MapreduceExecutionError


Copy link to this message
-
Review Request: Cleaned up error codes in MapreduceExecutionError
Linden Hillenbrand 2013-02-18, 16:32

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9495/
-----------------------------------------------------------

Review request for Sqoop, Jarek Cecho and Kathleen Ting.
Description
-------

Checked each error in MapreduceExecutionError.java and kept ones referenced in the code base and cleaned up the ones that were not being used.

The ones I was able to remove are the following:

/** Error occurs during job execution. */
MAPRED_EXEC_0008("Error occurs during job execution"),

/** The system was unable to load the specified class. */
MAPRED_EXEC_0009("Unable to load the specified class"),

/** The parameter already exists in the context */
MAPRED_EXEC_0011("The parameter already exists in the context"),

/** Cannot read from the data reader */
MAPRED_EXEC_0014("Cannot read to the data reader"),

/** Unable to write data due to interrupt */
MAPRED_EXEC_0015("Unable to write data due to interrupt"),

/** Unable to read data due to interrupt */
MAPRED_EXEC_0016("Unable to read data due to interrupt"),

/** The required option has not been set yet */
MAPRED_EXEC_0020("The required option has not been set yet"),
This addresses bug Sqoop-743.
    https://issues.apache.org/jira/browse/Sqoop-743
Diffs
-----

  execution/mapreduce/src/main/java/org/apache/sqoop/job/MapreduceExecutionError.java 1dc12d1

Diff: https://reviews.apache.org/r/9495/diff/
Testing
-------

Ran all tests and passed successfully.
Thanks,

Linden Hillenbrand