sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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 Tue, 29 Nov 2016 14:41:59 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705459#comment-15705459
] 

ASF subversion and git services commented on SQOOP-3055:
--------------------------------------------------------

Commit 48cecdc99e45514adff5b9ea8112f5fb366aee14 in sqoop's branch refs/heads/trunk from [~maugli]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=48cecdc ]

SQOOP-3055: Fixing MySQL tests failing due to
ignored test inputs/configuration

(Anna Szonyi via Attila Szabo)


> 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-4.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
(if they are specified, otherwise should fall back to ).
> 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