sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anna Szonyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-3055) SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified username, password and dbname, trying to connect to specified host using "currentUser"
Date Fri, 25 Nov 2016 10:55:58 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anna Szonyi updated SQOOP-3055:
-------------------------------
    Attachment: SQOOP-3055-3.patch

> SQOOP-3055 MYSQL tests are failing due to the tests ignoring specified username, password
and dbname, trying to connect to specified host using "currentUser"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SQOOP-3055
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3055
>             Project: Sqoop
>          Issue Type: Sub-task
>            Reporter: Anna Szonyi
>            Assignee: Anna Szonyi
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-3055-2.patch, SQOOP-3055-3.patch, SQOOP-3055.patch
>
>
> MYSQL test are using option.setUser(MySQLTestUtils.getcurrentUser()), where MySQLTestUtils.getCurrentUser()
return 
> System.getenv("USER");
> or 
> ..
>     whoamiArgs[0] = "whoami";
> ..
> p = Runtime.getRuntime().exec(whoamiArgs);
> Whereas it should use the userName and userPass as specified if called with -D parameters.
> Currently the tests could only run when using localhost + root.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message