I'm getting a less than useful error message, which I've tracked down
to coming from inside a try/catch where the exception is re-raised if
a certain property is set[1].

However, I'm not seeing the stack trace after setting the property.
I'm specifying it on the command line like such:
sqoop import \
    -Dsqoop.throwOnError=1 \
    ... "rest of the command"

Is that not the accepted way to specify a system property?

-Mark

1:
} catch (IllegalArgumentException iea) {
    LOG.error("Imported Failed: " + iea.getMessage());
    if (System.getProperty(Sqoop.SQOOP_RETHROW_PROPERTY) != null) {
      throw iea;
    }
    return 1;

Reply via email to