Typo or Invalid Username / Password in Oracle Loader For Hadoop fails with ORA-01017 (Doc ID 1454287.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Loader for Hadoop - Version 1.1.0.0.0 and later
Linux x86-64

Symptoms

Running a job with Oracle Loader for Hadoop and receiving the following exception:

Exception in thread "main" oracle.hadoop.loader.OraLoaderException: Oracle database connection error: ORA-01017: invalid username/password; logon denied

        at oracle.hadoop.loader.metadata.OraLoaderMetadata$1errhdlr.handleEx(OraLoaderMetadata.java:523)
        at oracle.hadoop.loader.metadata.OraLoaderMetadata.<init>(OraLoaderMetadata.java:554)
        at oracle.hadoop.loader.OraLoader.run(OraLoader.java:372)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:197)
Caused by: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
        at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:600)
        at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:445)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
        at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:380)
        at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:760)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
        at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
        at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:280)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:207)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:157)
        at oracle.hadoop.loader.Utils.getConnection(Utils.java:263)
        at oracle.hadoop.loader.metadata.OraLoaderMetadata.<init>(OraLoaderMetadata.java:547)
        ... 8 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms