sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: Oraoop - Sqoop Failed when there is no data in the Souce table
Date Sat, 06 Dec 2014 00:34:33 GMT
Could you provide your Sqoop version number and sqoop command? I suspect
you're using the "--direct" option, which will use Oracle Quest Connector.

-Abe

On Thu, Dec 4, 2014 at 10:49 AM, Dhandapani, Karthik <
Karthik.Dhandapani@cvscaremark.com> wrote:

> Hi,
>
>
>
> The Sqoop script failed with Oracle Oraoop Connector when there is no data
> in the source table with the below error message.
>
>
>
> *Error*
>
> 14/12/04 13:46:55 ERROR sqoop.Sqoop: Got exception running Sqoop:
> java.lang.RuntimeException: The table XXXXXX_LOG does not contain any data.
>
> java.lang.RuntimeException: The table XXXXXX_LOG does not contain any data.
>
>
>
> With* “Oracle quest Connector Disabled” *-Doraoop.disabled=true, the
> sqoop script succeeded with 0 records.
>
>
>
> Is there a way to avoid the script from failing when there is no data with
> Oracle quest connector ?
>
>
>
> Thanks,
>
> Karthik
>
>
>

Mime
View raw message