Sqoop
  1. Sqoop
  2. SQOOP-338

NPE after specifying incorrect JDBC credentials

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: None
    • Labels:
      None
    • Environment:

      Sqoop 1.2.0-cdh3u0
      git commit id 455acc8dee10b6a3579358cccc3635241076391b
      Compiled by hudson@ubuntu-slave02 on Fri Mar 25 16:25:35 PDT 2011

      Description

      I tried to do a sqoop import but forgot to specify a username and password. The command line used was:

      sqoop import --connect jdbc:mysql://localhost/training --hive-import --table Movies
      

      This resulted in an NPE being logged.

        Activity

        Todd Lipcon created issue -
        Brock Noland made changes -
        Field Original Value New Value
        Attachment sqoop-338-1.patch [ 12497385 ]
        Brock Noland made changes -
        Assignee Brock Noland [ brocknoland ]
        Brock Noland made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Arvind Prabhakar made changes -
        Fix Version/s 1.4.0-incubating [ 12317345 ]

          People

          • Assignee:
            Brock Noland
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development