[jira] [Updated] (SQOOP-2553) Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2553:

Attachment: (was: SQOOP-2553.001.patch)

> Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat
> -
>
> Key: SQOOP-2553
> URL: https://issues.apache.org/jira/browse/SQOOP-2553
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-test
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
>
> Update testcases using Jetty instead of Tomcat.



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


[jira] [Updated] (SQOOP-2553) Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2553:

Description: Update testcases using Jetty instead of Tomcat.  (was: Add 
class JettySqoopMiniCluster to support embedded jetty server for integration 
test.)

> Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat
> -
>
> Key: SQOOP-2553
> URL: https://issues.apache.org/jira/browse/SQOOP-2553
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-test
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
> Attachments: SQOOP-2553.001.patch
>
>
> Update testcases using Jetty instead of Tomcat.



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


[jira] [Updated] (SQOOP-2553) Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2553:

Summary: Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat  
(was: Refactor integration test to support embedded jetty server)

> Sqoop2: Jetty: Update testcases using Jetty instead of Tomcat
> -
>
> Key: SQOOP-2553
> URL: https://issues.apache.org/jira/browse/SQOOP-2553
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-test
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
> Attachments: SQOOP-2553.001.patch
>
>
> Add class JettySqoopMiniCluster to support embedded jetty server for 
> integration test.



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


[jira] [Commented] (SQOOP-2562) Sqoop2: Should decode the key and value in MMapInput#restoreFromUrlSafeValueString

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2562:
-

Testing file 
[SQOOP-2562.1.patch|https://issues.apache.org/jira/secure/attachment/12755065/SQOOP-2562.1.patch]
 against branch sqoop2 took 0:56:25.355717.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1420 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1682/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1682/artifact/patch-process/findbugs_report.txt])
{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1682/console].

This message is automatically generated.

> Sqoop2: Should decode the key and value in 
> MMapInput#restoreFromUrlSafeValueString
> --
>
> Key: SQOOP-2562
> URL: https://issues.apache.org/jira/browse/SQOOP-2562
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2562.1.patch
>
>




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


Review Request 38248: Sqoop2: Should decode the key and value in MMapInput#restoreFromUrlSafeValueString

2015-09-09 Thread Dian Fu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38248/
---

Review request for Sqoop.


Bugs: SQOOP-2562
https://issues.apache.org/jira/browse/SQOOP-2562


Repository: sqoop-sqoop2


Description
---

1. Decode the key and value in MMapInput#restoreFromUrlSafeValueString
2. Also fix some issue related to MMapInput


Diffs
-

  common/src/main/java/org/apache/sqoop/model/MMapInput.java 973b5fa 
  common/src/test/java/org/apache/sqoop/model/TestMMapInput.java c4e098d 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java b45d8df 

Diff: https://reviews.apache.org/r/38248/diff/


Testing
---


Thanks,

Dian Fu



[jira] [Updated] (SQOOP-2562) Sqoop2: Should decode the key and value in MMapInput#restoreFromUrlSafeValueString

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2562:
---
Attachment: SQOOP-2562.1.patch

> Sqoop2: Should decode the key and value in 
> MMapInput#restoreFromUrlSafeValueString
> --
>
> Key: SQOOP-2562
> URL: https://issues.apache.org/jira/browse/SQOOP-2562
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2562.1.patch
>
>




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


[jira] [Updated] (SQOOP-2562) Sqoop2: Should decode the key and value in MMapInput#restoreFromUrlSafeValueString

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2562:
---
Fix Version/s: 1.99.7

> Sqoop2: Should decode the key and value in 
> MMapInput#restoreFromUrlSafeValueString
> --
>
> Key: SQOOP-2562
> URL: https://issues.apache.org/jira/browse/SQOOP-2562
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
>




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


[jira] [Commented] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2559:
-

Testing file 
[SQOOP-2559.3.patch|https://issues.apache.org/jira/secure/attachment/12755048/SQOOP-2559.3.patch]
 against branch sqoop2 took 0:53:21.994419.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1432 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1681/artifact/patch-process/cobertura_report.txt])
{color:orange}WARNING:{color} New findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1681/artifact/patch-process/findbugs_report.txt])
* Package {{shell}}: Class {{org.apache.sqoop.shell.utils.ConfigFiller}} 
introduced 1 completely new findbugs warnings.
* Package {{common}}: Class {{org.apache.sqoop.model.MDateTimeInput}} 
introduced 1 completely new findbugs warnings.


{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1681/console].

This message is automatically generated.

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch, 
> SQOOP-2559.3.patch
>
>




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


[jira] [Created] (SQOOP-2563) Sqoop2: Jetty: Update script for Jetty server

2015-09-09 Thread Colin Ma (JIRA)
Colin Ma created SQOOP-2563:
---

 Summary: Sqoop2: Jetty: Update script for Jetty server
 Key: SQOOP-2563
 URL: https://issues.apache.org/jira/browse/SQOOP-2563
 Project: Sqoop
  Issue Type: Sub-task
Reporter: Colin Ma
Assignee: Colin Ma


Update script for Jetty server, eg, sqoop.sh.



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


[jira] [Created] (SQOOP-2562) Sqoop2: Should decode the key and value in MMapInput#restoreFromUrlSafeValueString

2015-09-09 Thread Dian Fu (JIRA)
Dian Fu created SQOOP-2562:
--

 Summary: Sqoop2: Should decode the key and value in 
MMapInput#restoreFromUrlSafeValueString
 Key: SQOOP-2562
 URL: https://issues.apache.org/jira/browse/SQOOP-2562
 Project: Sqoop
  Issue Type: Bug
Reporter: Dian Fu
Assignee: Dian Fu






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


[jira] [Updated] (SQOOP-2560) Sqoop2: Jetty: Create new class for Jetty server

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2560:

Description:  Create new class for Jetty server, include: SqoopJettyServer, 
SqoopJettyContext, SqoopJettyConstants.  (was:  Create new class for Jetty 
server and update the start script(sqoop.sh).)

> Sqoop2: Jetty: Create new class for Jetty server
> 
>
> Key: SQOOP-2560
> URL: https://issues.apache.org/jira/browse/SQOOP-2560
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-server
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
>
>  Create new class for Jetty server, include: SqoopJettyServer, 
> SqoopJettyContext, SqoopJettyConstants.



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


[jira] [Updated] (SQOOP-2560) Sqoop2: Jetty: Create new class for Jetty server

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2560:

Summary: Sqoop2: Jetty: Create new class for Jetty server  (was: Sqoop2: 
Jetty: Create new class for Jetty server and update the start script.)

> Sqoop2: Jetty: Create new class for Jetty server
> 
>
> Key: SQOOP-2560
> URL: https://issues.apache.org/jira/browse/SQOOP-2560
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-server
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
>
>  Create new class for Jetty server and update the start script(sqoop.sh).



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


[jira] [Updated] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2559:
---
Attachment: SQOOP-2559.3.patch

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch, 
> SQOOP-2559.3.patch
>
>




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


[jira] [Commented] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu commented on SQOOP-2559:


Refresh the patch to fix the findbugs warnings.

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch, 
> SQOOP-2559.3.patch
>
>




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


Re: Review Request 38242: Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38242/
---

(Updated Sept. 10, 2015, 2:14 a.m.)


Review request for Sqoop.


Bugs: SQOOP-2559
https://issues.apache.org/jira/browse/SQOOP-2559


Repository: sqoop-sqoop2


Description
---

Provide DateTime type for configuration objects per discussion in SQOOP-2554.


Diffs (updated)
-

  common/pom.xml ecd42bc 
  common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java 
e2e5b67 
  common/src/main/java/org/apache/sqoop/model/ConfigUtils.java 5d53437 
  common/src/main/java/org/apache/sqoop/model/MConfig.java 6f11d92 
  common/src/main/java/org/apache/sqoop/model/MConfigList.java 2a3c3e4 
  common/src/main/java/org/apache/sqoop/model/MDateTimeInput.java PRE-CREATION 
  common/src/main/java/org/apache/sqoop/model/MInputType.java 0f1fe0a 
  common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java 
2a2cfe8 
  common/src/test/java/org/apache/sqoop/model/TestMConfig.java 2cb3989 
  common/src/test/java/org/apache/sqoop/model/TestMConfigList.java fd100b1 
  common/src/test/java/org/apache/sqoop/model/TestMDateTimeInput.java 
PRE-CREATION 
  connector/connector-sdk/pom.xml c888aa0 
  
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
 6d303c8 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java ab442fe 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java b45d8df 

Diff: https://reviews.apache.org/r/38242/diff/


Testing
---


Thanks,

Dian Fu



[jira] [Commented] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2559:
-

Testing file 
[SQOOP-2559.2.patch|https://issues.apache.org/jira/secure/attachment/12755038/SQOOP-2559.2.patch]
 against branch sqoop2 took 0:53:50.136049.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1432 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1680/artifact/patch-process/cobertura_report.txt])
{color:orange}WARNING:{color} New findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1680/artifact/patch-process/findbugs_report.txt])
* Package {{shell}}: Class {{org.apache.sqoop.shell.utils.ConfigFiller}} 
introduced 1 completely new findbugs warnings.
* Package {{common}}: Class {{org.apache.sqoop.model.MDateTimeInput}} 
introduced 1 completely new findbugs warnings.


{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1680/console].

This message is automatically generated.

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch
>
>




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


[jira] [Commented] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2559:
-

Testing file 
[SQOOP-2559.1.patch|https://issues.apache.org/jira/secure/attachment/12755037/SQOOP-2559.1.patch]
 against branch sqoop2 took 0:55:03.825424.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:orange}WARNING:{color} Patch applied, but there has been warnings:
{code}:574: trailing whitespace.
   CommandLine line) 
:630: trailing whitespace.
   * 
warning: 2 lines add whitespace errors.
{code}

{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1432 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1679/artifact/patch-process/cobertura_report.txt])
{color:orange}WARNING:{color} New findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1679/artifact/patch-process/findbugs_report.txt])
* Package {{shell}}: Class {{org.apache.sqoop.shell.utils.ConfigFiller}} 
introduced 1 completely new findbugs warnings.
* Package {{common}}: Class {{org.apache.sqoop.model.MDateTimeInput}} 
introduced 1 completely new findbugs warnings.


{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1679/console].

This message is automatically generated.

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch
>
>




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


[jira] [Commented] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu commented on SQOOP-2559:


Update the patch to remove unnecessary trailing whitespace.

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch
>
>




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


Re: Review Request 38242: Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38242/
---

(Updated Sept. 10, 2015, 12:56 a.m.)


Review request for Sqoop.


Bugs: SQOOP-2559
https://issues.apache.org/jira/browse/SQOOP-2559


Repository: sqoop-sqoop2


Description
---

Provide DateTime type for configuration objects per discussion in SQOOP-2554.


Diffs (updated)
-

  common/pom.xml ecd42bc 
  common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java 
e2e5b67 
  common/src/main/java/org/apache/sqoop/model/ConfigUtils.java 5d53437 
  common/src/main/java/org/apache/sqoop/model/MConfig.java 6f11d92 
  common/src/main/java/org/apache/sqoop/model/MConfigList.java 2a3c3e4 
  common/src/main/java/org/apache/sqoop/model/MDateTimeInput.java PRE-CREATION 
  common/src/main/java/org/apache/sqoop/model/MInputType.java 0f1fe0a 
  common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java 
2a2cfe8 
  common/src/test/java/org/apache/sqoop/model/TestMConfig.java 2cb3989 
  common/src/test/java/org/apache/sqoop/model/TestMConfigList.java fd100b1 
  common/src/test/java/org/apache/sqoop/model/TestMDateTimeInput.java 
PRE-CREATION 
  connector/connector-sdk/pom.xml c888aa0 
  
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
 6d303c8 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java ab442fe 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java b45d8df 

Diff: https://reviews.apache.org/r/38242/diff/


Testing
---


Thanks,

Dian Fu



[jira] [Updated] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2559:
---
Attachment: SQOOP-2559.2.patch

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch, SQOOP-2559.2.patch
>
>




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


Review Request 38242: Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38242/
---

Review request for Sqoop.


Bugs: SQOOP-2559
https://issues.apache.org/jira/browse/SQOOP-2559


Repository: sqoop-sqoop2


Description
---

Provide DateTime type for configuration objects per discussion in SQOOP-2554.


Diffs
-

  common/pom.xml ecd42bc 
  common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java 
e2e5b67 
  common/src/main/java/org/apache/sqoop/model/ConfigUtils.java 5d53437 
  common/src/main/java/org/apache/sqoop/model/MConfig.java 6f11d92 
  common/src/main/java/org/apache/sqoop/model/MConfigList.java 2a3c3e4 
  common/src/main/java/org/apache/sqoop/model/MDateTimeInput.java PRE-CREATION 
  common/src/main/java/org/apache/sqoop/model/MInputType.java 0f1fe0a 
  common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java 
2a2cfe8 
  common/src/test/java/org/apache/sqoop/model/TestMConfig.java 2cb3989 
  common/src/test/java/org/apache/sqoop/model/TestMConfigList.java fd100b1 
  common/src/test/java/org/apache/sqoop/model/TestMDateTimeInput.java 
PRE-CREATION 
  connector/connector-sdk/pom.xml 5e20713 
  
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
 6d303c8 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java ab442fe 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java b45d8df 

Diff: https://reviews.apache.org/r/38242/diff/


Testing
---


Thanks,

Dian Fu



[jira] [Updated] (SQOOP-2559) Sqoop2: Provide DateTime type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2559:
---
Attachment: SQOOP-2559.1.patch

> Sqoop2: Provide DateTime type for configuration objects
> ---
>
> Key: SQOOP-2559
> URL: https://issues.apache.org/jira/browse/SQOOP-2559
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2559.1.patch
>
>




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


[jira] [Commented] (SQOOP-2561) Special Character removal from Column name as avro data results in duplicate column and fails the import

2015-09-09 Thread Suresh (JIRA)

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

Suresh commented on SQOOP-2561:
---

This is the error i am getting,

15/09/07 10:52:47 ERROR sqoop.Sqoop: Got exception running Sqoop: 
org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  at org.apache.avro.Schema$RecordSchema.setFields(Schema.java:636)
  at 
org.apache.sqoop.orm.AvroSchemaGenerator.generate(AvroSchemaGenerator.java:91)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.generateAvroSchema(DataDrivenImportJob.java:132)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.configureMapper(DataDrivenImportJob.java:90)
  at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:262)
  at org.apache.sqoop.manager.SqlManager.importQuery(SqlManager.java:721)
  at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:499)
  at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
  at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
  at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
  at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:207)
  at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:175)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
  at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:45)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:227)
  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:450)

Where i have columns as CODIGO$ and COD$IGO.


> Special Character removal from Column name as avro data results in duplicate 
> column and fails the import
> 
>
> Key: SQOOP-2561
> URL: https://issues.apache.org/jira/browse/SQOOP-2561
> Project: Sqoop
>  Issue Type: Bug
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: cdh5.3.2
>Reporter: Suresh
>  Labels: AVRO, SQOOP
> Fix For: 1.4.5
>
>
> When a Special character like '$' or  '#' are present in column name, 
> sqoop/avro removes those special character. In some cases it leads to 
> duplicate column.
> e.g. If we have COL$1 and COL1$ in the schema, it removes both of them and 
> creates the duplicate column as COL1 and it results in failure of the SQOOP 
> import job as a avro data. The same table can be loaded without 
> --as-avarodata flag.
> The similar issue is raised in, 
> https://issues.apache.org/jira/browse/SQOOP-1361 - which i suppose is fixed 
> and the fix is creating this new issue.



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


[jira] [Comment Edited] (SQOOP-2561) Special Character removal from Column name as avro data results in duplicate column and fails the import

2015-09-09 Thread Suresh (JIRA)

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

Suresh edited comment on SQOOP-2561 at 9/9/15 7:39 PM:
---

This is the error i am getting,

15/09/07 10:52:47 ERROR sqoop.Sqoop: Got exception running Sqoop: 
org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  at org.apache.avro.Schema$RecordSchema.setFields(Schema.java:636)
  at 
org.apache.sqoop.orm.AvroSchemaGenerator.generate(AvroSchemaGenerator.java:91)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.generateAvroSchema(DataDrivenImportJob.java:132)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.configureMapper(DataDrivenImportJob.java:90)
  at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:262)
  at org.apache.sqoop.manager.SqlManager.importQuery(SqlManager.java:721)
  at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:499)
  at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
  at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
  at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
  at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:207)
  at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:175)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
  at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:45)

Where i have columns as CODIGO$ and COD$IGO.



was (Author: sureshdeoda):
This is the error i am getting,

15/09/07 10:52:47 ERROR sqoop.Sqoop: Got exception running Sqoop: 
org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  org.apache.avro.AvroRuntimeException: Duplicate field CODIGO in record 
QueryResult: CODIGO type:UNION pos:15 and CODIGO type:UNION pos:13.
  at org.apache.avro.Schema$RecordSchema.setFields(Schema.java:636)
  at 
org.apache.sqoop.orm.AvroSchemaGenerator.generate(AvroSchemaGenerator.java:91)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.generateAvroSchema(DataDrivenImportJob.java:132)
  at 
org.apache.sqoop.mapreduce.DataDrivenImportJob.configureMapper(DataDrivenImportJob.java:90)
  at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:262)
  at org.apache.sqoop.manager.SqlManager.importQuery(SqlManager.java:721)
  at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:499)
  at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
  at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
  at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
  at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
  at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
  at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:207)
  at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:175)
  at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:39)
  at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:45)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:227)
  at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
  at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:450)

Where i have columns as CODIGO$ and COD$IGO.


> Special Character removal from Column name as avro data results in duplicate 
> column and fails the import
> 
>
> Key: SQOOP-2561
> URL: https://issues.apache.org/jira/browse/SQOOP-2561
> Project: Sqoop
>  Issue Type: Bug
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: cdh5.3.2
>Reporter: Suresh
>  Labels: AVRO, SQOOP
> Fix For: 1.4.5
>
>
> When a Special character like '$' or  '#' are present in column name, 
> sqoop/avro removes those special character. In some cases it leads to 
> duplicate column.
> e.g. If we have COL$1 and COL1$ in the schema, it removes both of them an

[jira] [Updated] (SQOOP-2561) Special Character removal from Column name as avro data results in duplicate column and fails the import

2015-09-09 Thread Suresh (JIRA)

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

Suresh updated SQOOP-2561:
--
Summary: Special Character removal from Column name as avro data results in 
duplicate column and fails the import  (was: Special Character removal from 
Column name as avro results in duplicate column and fails the import)

> Special Character removal from Column name as avro data results in duplicate 
> column and fails the import
> 
>
> Key: SQOOP-2561
> URL: https://issues.apache.org/jira/browse/SQOOP-2561
> Project: Sqoop
>  Issue Type: Bug
>  Components: connectors
>Affects Versions: 1.4.5
> Environment: cdh5.3.2
>Reporter: Suresh
>  Labels: AVRO, SQOOP
> Fix For: 1.4.5
>
>
> When a Special character like '$' or  '#' are present in column name, 
> sqoop/avro removes those special character. In some cases it leads to 
> duplicate column.
> e.g. If we have COL$1 and COL1$ in the schema, it removes both of them and 
> creates the duplicate column as COL1 and it results in failure of the SQOOP 
> import job as a avro data. The same table can be loaded without 
> --as-avarodata flag.
> The similar issue is raised in, 
> https://issues.apache.org/jira/browse/SQOOP-1361 - which i suppose is fixed 
> and the fix is creating this new issue.



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


[jira] [Created] (SQOOP-2561) Special Character removal from Column name as avro results in duplicate column and fails the import

2015-09-09 Thread Suresh (JIRA)
Suresh created SQOOP-2561:
-

 Summary: Special Character removal from Column name as avro 
results in duplicate column and fails the import
 Key: SQOOP-2561
 URL: https://issues.apache.org/jira/browse/SQOOP-2561
 Project: Sqoop
  Issue Type: Bug
  Components: connectors
Affects Versions: 1.4.5
 Environment: cdh5.3.2
Reporter: Suresh
 Fix For: 1.4.5


When a Special character like '$' or  '#' are present in column name, 
sqoop/avro removes those special character. In some cases it leads to duplicate 
column.
e.g. If we have COL$1 and COL1$ in the schema, it removes both of them and 
creates the duplicate column as COL1 and it results in failure of the SQOOP 
import job as a avro data. The same table can be loaded without --as-avarodata 
flag.

The similar issue is raised in, 
https://issues.apache.org/jira/browse/SQOOP-1361 - which i suppose is fixed and 
the fix is creating this new issue.




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


[jira] [Commented] (SQOOP-2507) Sqoop2: Do not use default Tomcat handlers for unsupported HTTP methods

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2507:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2507: Sqoop2: Do not use default Tomcat handlers for unsupported HTTP 
methods (abe: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=d11e83393161ebdd12f5383e349615d957e03763)
* 
test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
* server/src/main/java/org/apache/sqoop/handler/VersionRequestHandler.java
* server/src/main/java/org/apache/sqoop/server/SqoopProtocolServlet.java


> Sqoop2: Do not use default Tomcat handlers for unsupported HTTP methods
> ---
>
> Key: SQOOP-2507
> URL: https://issues.apache.org/jira/browse/SQOOP-2507
> Project: Sqoop
>  Issue Type: Sub-task
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Jarek Jarcec Cecho
> Fix For: 1.99.7
>
> Attachments: SQOOP-2507.patch, SQOOP-2507.patch
>
>
> I've noticed that in certain cases we'll revert to returning standard Tomcat 
> HTML pages when calling some unsupported methods, for example:
> {code}
> Apache Tomcat/6.0.37 - Error report 
> HTTP Status 405 - HTTP method POST is not supported by this 
> URLtype Status 
> reportmessage HTTP method POST is not supported by this 
> URLdescription The specified HTTP method is not allowed 
> for the requested resource.Apache 
> Tomcat/6.0.37
> {code}
> I would like for us to not use those as the HTTP interface is public and part 
> of our protocol and hence we should return Sqoop specific error messages for 
> that.



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


[jira] [Commented] (SQOOP-2556) Sqoop2: Declare default constructor private for singleton classes

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2556:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2556: Sqoop2: Declare default constructor private for singleton classes 
(jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a0cf47053b9d05bdda1fbae8c05b98259c0c0bac)
* core/src/test/java/org/apache/sqoop/driver/TestJobManager.java
* core/src/main/java/org/apache/sqoop/driver/Driver.java
* core/src/main/java/org/apache/sqoop/connector/ConnectorManager.java
* core/src/main/java/org/apache/sqoop/audit/FileAuditLogger.java
* core/src/main/java/org/apache/sqoop/audit/AuditLoggerManager.java
* core/src/main/java/org/apache/sqoop/repository/RepositoryManager.java
* core/src/main/java/org/apache/sqoop/driver/JobManager.java
* core/src/main/java/org/apache/sqoop/core/SqoopConfiguration.java
* core/src/main/java/org/apache/sqoop/security/AuthenticationManager.java


> Sqoop2: Declare default constructor private for singleton classes
> -
>
> Key: SQOOP-2556
> URL: https://issues.apache.org/jira/browse/SQOOP-2556
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2556.1.patch, SQOOP-2556.2.patch
>
>
> Should declare default constructor private for singleton classes.



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


[jira] [Commented] (SQOOP-2540) Sqoop2: Add RepositoryProvider for MySQL

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2540:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2540: Sqoop2: Add RepositoryProvider for MySQL (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=46c9f01fc8430bdb4c50fb5d6985e4330ea0935b)
* 
common-test/src/main/java/org/apache/sqoop/common/test/repository/MysqlRepositoryProvider.java
* 
common-test/src/main/java/org/apache/sqoop/common/test/repository/DerbyRepositoryProvider.java


> Sqoop2: Add RepositoryProvider for MySQL
> 
>
> Key: SQOOP-2540
> URL: https://issues.apache.org/jira/browse/SQOOP-2540
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2540.001.patch
>
>
> As MySQL repository is already supported, we should add RepositoryProvider 
> for MySQL to make it testable using MySQL repository.



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


[jira] [Commented] (SQOOP-2538) Sqoop2: Use the table name variable instead of the table name string

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2538:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2538: Sqoop2: Use the table name variable instead of the table name 
string (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=adc4367d9b37e4a87f97dfd069967f62a8d4611f)
* 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaUpgradeQuery.java


> Sqoop2: Use the table name variable instead of the table name string
> 
>
> Key: SQOOP-2538
> URL: https://issues.apache.org/jira/browse/SQOOP-2538
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2538.001.patch
>
>
> In {{DerbySchemaUpgradeQuery}}, there are some places which directly use the 
> table name string instead of the table name variable when referring a table 
> name. This makes it difficult to maintain.



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


[jira] [Commented] (SQOOP-2530) Sqoop2: Add utility methods to get object name from object id

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2530:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2530: Sqoop2: Add utility methods to get object name from object id 
(jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a7c705938f2b7f4f71c223dcb1fd9978beb8da2b)
* server/src/main/java/org/apache/sqoop/handler/HandlerUtils.java
* server/src/main/java/org/apache/sqoop/server/common/ServerError.java
* 
repository/repository-postgresql/src/test/java/org/apache/sqoop/integration/repository/postgresql/TestConnectorHandling.java
* core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryHandler.java
* core/src/main/java/org/apache/sqoop/repository/JdbcRepository.java
* 
repository/repository-derby/src/test/java/org/apache/sqoop/repository/derby/TestConnectorHandling.java
* core/src/main/java/org/apache/sqoop/repository/Repository.java
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
* common/src/main/java/org/apache/sqoop/error/code/CommonRepositoryError.java
* 
repository/repository-mysql/src/test/java/org/apache/sqoop/integration/repository/mysql/TestConnectorHandling.java
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryInsertUpdateDeleteSelectQuery.java


> Sqoop2: Add utility methods to get object name from object id
> -
>
> Key: SQOOP-2530
> URL: https://issues.apache.org/jira/browse/SQOOP-2530
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2530.001.patch, SQOOP-2530.002.patch
>
>
> We need add some utility methods to translate connectorId/linkId/jobId to the 
> corresponding connectorName/linkName/jobName.



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


[jira] [Commented] (SQOOP-2537) Sqoop2: Use object name instead of object id for the name filed in MResource

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2537:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2537: Sqoop2: Use object name instead of object id for the name filed in 
MResource (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=66989a6ec5176b17cf96fd582fa26382b773628f)
* 
security/src/main/java/org/apache/sqoop/security/authorization/AuthorizationEngine.java
* server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/ConnectorRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java


> Sqoop2: Use object name instead of object id for the name filed in MResource
> 
>
> Key: SQOOP-2537
> URL: https://issues.apache.org/jira/browse/SQOOP-2537
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2537.001.patch, SQOOP-2537.003.patch
>
>
> Currently the meaning of the name field in MResource isn't consistent. Some 
> places assume this field means the object name of the resource, such as in 
> AuthorizationRequestHandler. Some places assume this field means the object 
> id of the resource, such as in AuthorizationEngine.



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


[jira] [Commented] (SQOOP-2462) Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2462:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2462: Sqoop2: Provide List type for configuration objects (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=9f69badd9625adbfdbc8c719906f58de888bf54a)
* common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java
* shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
* common/src/test/java/org/apache/sqoop/model/TestMConfigList.java
* common/src/test/java/org/apache/sqoop/model/TestMListInput.java
* common/src/main/java/org/apache/sqoop/model/MConfigList.java
* common/src/main/java/org/apache/sqoop/model/MConfig.java
* common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java
* common/src/main/java/org/apache/sqoop/model/MInputType.java
* common/src/test/java/org/apache/sqoop/model/TestMConfig.java
* shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java
* common/src/main/java/org/apache/sqoop/model/ConfigUtils.java
* common/src/main/java/org/apache/sqoop/model/MListInput.java


> Sqoop2: Provide List type for configuration objects
> ---
>
> Key: SQOOP-2462
> URL: https://issues.apache.org/jira/browse/SQOOP-2462
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2462.1.patch, SQOOP-2462.2.patch
>
>
> While doing some changes inside JDBC Connector I came to a need of {{List}} 
> type in addition to the existing {{Map}} that we have. After having 
> discussion with [~jseidman] that is working on (S)FTP connectors he mentioned 
> the same need, so I'm creating this JIRA :)



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


[jira] [Commented] (SQOOP-2539) Sqoop2: Enforce resource name not null when creating table

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2539:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2539: Sqoop2: Enforce resource name not null when creating table (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=933839f0f74ca75272cf9367fab9efcf00bcbc73)
* shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java
* 
repository/repository-postgresql/src/main/java/org/apache/sqoop/repository/postgresql/PostgresqlRepositoryHandler.java
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepoUtils.java
* 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbySchemaUpgradeQuery.java
* 
repository/repository-mysql/src/main/java/org/apache/sqoop/repository/mysql/MySqlSchemaCreateQuery.java
* test/src/main/java/org/apache/sqoop/test/infrastructure/SqoopTestCase.java
* test/src/test/resources/repository/derby/derby-repository-1.99.5.tar.gz
* test/src/test/resources/repository/derby/derby-repository-1.99.6.tar.gz
* test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
* 
test/src/test/java/org/apache/sqoop/integration/repository/derby/upgrade/Derby1_99_6UpgradeTest.java
* 
test/src/test/java/org/apache/sqoop/integration/repository/derby/upgrade/Derby1_99_5UpgradeTest.java
* 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
* test/src/main/java/org/apache/sqoop/test/utils/SqoopUtils.java
* 
repository/repository-postgresql/src/main/java/org/apache/sqoop/repository/postgresql/PostgresqlSchemaUpgradeQuery.java


> Sqoop2: Enforce resource name not null when creating table
> --
>
> Key: SQOOP-2539
> URL: https://issues.apache.org/jira/browse/SQOOP-2539
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2539.001.patch, SQOOP-2539.002.patch, 
> SQOOP-2539.003.patch, SQOOP-2539.004.patch, SQOOP-2539.005.patch
>
>
> Currently resource name such as job name, connector name or link name can be 
> null. We should enforce that these resource names cannot be null.



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


[jira] [Commented] (SQOOP-2527) Sqoop2: findbugs: Fix warning in submission module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2527:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2527: Sqoop2: findbugs: Fix warning in submission module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=90eb27474d831b4e50391c488d9a52e48f16d86e)
* 
submission/mapreduce/src/main/java/org/apache/sqoop/submission/mapreduce/MapreduceSubmissionEngine.java


> Sqoop2: findbugs: Fix warning in submission module
> --
>
> Key: SQOOP-2527
> URL: https://issues.apache.org/jira/browse/SQOOP-2527
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2527.001.patch
>
>
> Fix warning in submission module



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


[jira] [Commented] (SQOOP-2557) Sqoop2: Findbugs: move findbug dependency to the root pom.xml

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2557:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2557: Sqoop2: Findbugs: move findbug dependency to the root pom.xml 
(jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=547a5b43506a09d993cdd2c9cfad321a5573a5c0)
* connector/connector-sdk/pom.xml
* common-test/pom.xml
* repository/repository-derby/pom.xml
* connector/connector-generic-jdbc/pom.xml
* connector/connector-kite/pom.xml
* execution/mapreduce/pom.xml
* pom.xml
* shell/pom.xml
* server/pom.xml
* repository/repository-postgresql/pom.xml
* repository/repository-mysql/pom.xml
* core/pom.xml
* repository/repository-common/pom.xml


> Sqoop2: Findbugs: move findbug dependency to the root pom.xml
> -
>
> Key: SQOOP-2557
> URL: https://issues.apache.org/jira/browse/SQOOP-2557
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2557.001.patch
>
>
> move findbug dependency to the root pom.xml



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


[jira] [Commented] (SQOOP-2550) Sqoop2: Findbugs: Add filter for the warning SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE and SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2550:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2550: Sqoop2: Findbugs: Add filter for the warning 
SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE and 
SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=7d05cc28f9bf0cc608fb05087733e4dc098fbcb4)
* repository/repository-derby/pom.xml
* repository/repository-postgresql/pom.xml
* 
repository/repository-mysql/src/main/java/org/apache/sqoop/repository/mysql/MySqlRepositoryHandler.java
* 
common-test/src/main/java/org/apache/sqoop/common/test/asserts/ProviderAsserts.java
* 
repository/repository-postgresql/src/main/java/org/apache/sqoop/repository/postgresql/PostgresqlRepositoryHandler.java
* 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyRepositoryHandler.java
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExecutor.java
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcFromInitializer.java
* 
repository/repository-derby/src/main/java/org/apache/sqoop/repository/derby/DerbyUpgradeGenericJdbcConnectorConfigAndInputNames.java
* 
common-test/src/main/java/org/apache/sqoop/common/test/db/DatabaseProvider.java
* repository/repository-mysql/pom.xml
* pom.xml
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcLoader.java
* connector/connector-generic-jdbc/pom.xml
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcToInitializer.java
* common-test/pom.xml
* 
connector/connector-generic-jdbc/src/main/java/org/apache/sqoop/connector/jdbc/GenericJdbcExtractor.java
* repository/repository-common/pom.xml


> Sqoop2: Findbugs: Add filter for the warning 
> SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE and 
> SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING
> --
>
> Key: SQOOP-2550
> URL: https://issues.apache.org/jira/browse/SQOOP-2550
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2550.001.patch, SQOOP-2550.002.patch
>
>
> Add filter to ignore the warning SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE and 
> SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING



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


[jira] [Commented] (SQOOP-2532) Sqoop2: Findbugs: Fix SIC_INNER_SHOULD_BE_STATIC_ANON problem in ConfigValidationRunner

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2532:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2532: Sqoop2: Findbugs: Fix SIC_INNER_SHOULD_BE_STATIC_ANON problem in 
ConfigValidationRunner (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=583c42e60217d91727dc87fd1ea409269846b754)
* common/src/main/java/org/apache/sqoop/validation/ConfigValidationRunner.java
* common/src/main/java/org/apache/sqoop/json/VersionBean.java


> Sqoop2: Findbugs: Fix SIC_INNER_SHOULD_BE_STATIC_ANON problem in 
> ConfigValidationRunner
> ---
>
> Key: SQOOP-2532
> URL: https://issues.apache.org/jira/browse/SQOOP-2532
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2532.001.patch
>
>
> Fix SIC_INNER_SHOULD_BE_STATIC_ANON problem in ConfigValidationRunner



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


[jira] [Commented] (SQOOP-2551) Sqoop2: Explicit encode data sent in SqoopClient with charset

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2551:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2551: Sqoop2: Explicit encode data sent in SqoopClient with charset 
(jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=57b97ee1b0bac249ba5e86091c374a0492584901)
* client/src/main/java/org/apache/sqoop/client/request/ResourceRequest.java
* common/src/main/java/org/apache/sqoop/common/SqoopProtocolConstants.java


> Sqoop2: Explicit encode data sent in SqoopClient with charset
> -
>
> Key: SQOOP-2551
> URL: https://issues.apache.org/jira/browse/SQOOP-2551
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2551.1.patch
>
>




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


[jira] [Commented] (SQOOP-2533) Sqoop2: Findbugs: Fix warning for ConfigurableServlet

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2533:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2533: Sqoop2: Findbugs: Fix warning for ConfigurableServlet (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=e0fbca7faa5ee0d22294289e76700b2d59dd353b)
* server/src/main/java/org/apache/sqoop/server/v1/ConfigurableServlet.java


> Sqoop2: Findbugs: Fix warning for ConfigurableServlet
> -
>
> Key: SQOOP-2533
> URL: https://issues.apache.org/jira/browse/SQOOP-2533
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2533.001.patch
>
>
>  Fix warning for ConfigurableServlet



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


[jira] [Commented] (SQOOP-2439) Sqoop2: NullPointerException when calling job status notification URL

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2439:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2439: Sqoop2: NullPointerException when calling job status notification 
URL (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=37fec0abd64d3900c14c9b23dd355bd68f6cb5f5)
* server/src/main/java/org/apache/sqoop/server/RequestContext.java
* core/src/main/java/org/apache/sqoop/security/SecurityError.java
* dist/src/main/server/conf/sqoop.properties
* core/src/main/java/org/apache/sqoop/security/SecurityConstants.java
* server/src/main/java/org/apache/sqoop/handler/AuthorizationRequestHandler.java


> Sqoop2: NullPointerException when calling job status notification URL
> -
>
> Key: SQOOP-2439
> URL: https://issues.apache.org/jira/browse/SQOOP-2439
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
>Priority: Blocker
> Fix For: 1.99.7
>
> Attachments: SQOOP-2439.001.patch, SQOOP-2439.002.patch, 
> SQOOP-2439.003.patch, SQOOP-2439.004.patch, SQOOP-2439.005.patch, 
> SQOOP-2439.005.patch
>
>
> While working on SQOOP-2244, I've noticed {{NullPointerException}} in the 
> code unrelated to my changes:
> {code}
> 2015-07-28 18:48:48,264 ERROR server.SqoopProtocolServlet 
> [org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:53)]
>  Exception in GET http://localhost:56826/sqoop//v1/job/status/notification/1
> java.lang.NullPointerException
>  at 
> org.apache.sqoop.security.authorization.AuthorizationEngine.checkPrivilege(AuthorizationEngine.java:185)
>  at 
> org.apache.sqoop.security.authorization.AuthorizationEngine.readJob(AuthorizationEngine.java:99)
>  at 
> org.apache.sqoop.handler.JobRequestHandler.getJobs(JobRequestHandler.java:312)
>  at 
> org.apache.sqoop.handler.JobRequestHandler.handleEvent(JobRequestHandler.java:104)
>  at org.apache.sqoop.server.v1.JobServlet.handleGetRequest(JobServlet.java:86)
>  at 
> org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:48)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at 
> org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:572)
>  at 
> org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:269
>  at 
> org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:542)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>  at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>  at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>  at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
>  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
>  at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
>  at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
>  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>  at java.lang.Thread.run(Thread.java:745)
> {code}



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


[jira] [Commented] (SQOOP-2555) Sqoop2: Findbugs: Add filter for the unnecessary warning

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2555:
---

SUCCESS: Integrated in Sqoop2 #894 (See 
[https://builds.apache.org/job/Sqoop2/894/])
SQOOP-2555: Sqoop2: Findbugs: Add filter for the unnecessary warning (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=a13343b34536e6ea79253ecece29ad61124802b7)
* execution/mapreduce/pom.xml
* shell/src/main/java/org/apache/sqoop/shell/ShowVersionFunction.java
* core/src/main/java/org/apache/sqoop/driver/JobManager.java
* 
connector/connector-kite/src/main/java/org/apache/sqoop/connector/kite/KiteDatasetExecutor.java
* 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopOutputFormatLoadExecutor.java
* connector/connector-kite/pom.xml
* server/src/main/java/org/apache/sqoop/server/ServerInitializer.java
* server/pom.xml
* 
connector/connector-sdk/src/main/java/org/apache/sqoop/connector/common/SqoopIDFUtils.java
* 
connector/connector-sdk/src/main/java/org/apache/sqoop/connector/idf/JSONIntermediateDataFormat.java
* core/pom.xml
* core/src/main/java/org/apache/sqoop/core/PropertiesConfigurationProvider.java
* core/src/main/java/org/apache/sqoop/core/SqoopConfiguration.java
* shell/pom.xml
* core/src/main/java/org/apache/sqoop/repository/JdbcRepositoryProvider.java
* connector/connector-sdk/pom.xml
* 
connector/connector-sdk/src/main/java/org/apache/sqoop/connector/idf/AVROIntermediateDataFormat.java


> Sqoop2: Findbugs: Add filter for the unnecessary warning
> 
>
> Key: SQOOP-2555
> URL: https://issues.apache.org/jira/browse/SQOOP-2555
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 1.99.7
>
> Attachments: SQOOP-2555.001.patch
>
>
> Add filter for the unnecessary warning: PZLA_PREFER_ZERO_LENGTH_ARRAYS, 
> IS2_INCONSISTENT_SYNC, DM_EXIT, SE_BAD_FIELD



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


[jira] [Commented] (SQOOP-2513) Sqoop2: Deadlock occurs between getJobStatus and JobManager.UpdateThread#updateSubmission

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2513:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2513: Sqoop2: Deadlock occurs between getJobStatus and 
JobManager.UpdateThread#updateSubmission (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=826e5cc774b4ec950dbecc662950c0190358)
* 
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java


> Sqoop2: Deadlock occurs between getJobStatus and 
> JobManager.UpdateThread#updateSubmission
> -
>
> Key: SQOOP-2513
> URL: https://issues.apache.org/jira/browse/SQOOP-2513
> Project: Sqoop
>  Issue Type: Bug
>Reporter: Dian Fu
>Assignee: Dian Fu
>Priority: Critical
> Fix For: 1.99.7
>
> Attachments: SQOOP-2513.001.patch, SQOOP-2513.002.patch, 
> SQOOP-2513.003.patch, SQOOP-2513.004.patch
>
>
> I encountered the following test failure log in the test of SQOOP-2439:
> {noformat}
> java.sql.SQLTransactionRollbackException: A lock could not be obtained due to 
> a deadlock, cycle of locks and waiters is:
> Lock : ROW, SQ_JOB_INPUT, (1,187)
> Waiting XID : {15543, S} , SA, SELECT "SQI_ID", "SQI_NAME", "SQI_CONFIG", 
> "SQI_INDEX", "SQI_TYPE", "SQI_STRMASK", "SQI_STRLENGTH", "SQI_EDITABLE", 
> "SQI_ENUMVALS", "SQBI_VALUE" FROM "SQOOP"."SQ_INPUT" LEFT OUTER JOIN 
> "SQOOP"."SQ_JOB_INPUT" ON "SQBI_INPUT" = "SQI_ID" AND  "SQBI_JOB" = ? WHERE 
> "SQI_CONFIG" = ? ORDER BY "SQI_INDEX"  Granted XID : {15545, X}
> Lock : ROW, SQ_JOB, (1,17)
> Waiting XID : {15545, X} , SA, UPDATE "SQOOP"."SQ_JOB" SET "SQB_NAME" = ?, 
> "SQB_UPDATE_USER" = ?, "SQB_UPDATE_DATE" = ?  WHERE "SQB_ID" = ?  Granted XID 
> : {15543, S} . The selected victim is XID : 15543. at
> org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown 
> Source) at 
> org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)   
> at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown 
> Source)at 
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown 
> Source)   at 
> org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)   
> at 
> org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)   
> at 
> org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)   
> at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown 
> Source)   at 
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeQuery(Unknown 
> Source)   at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
> at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
> at 
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
> at 
> org.apache.sqoop.repository.common.CommonRepositoryHandler.loadDriverConfigs(CommonRepositoryHandler.java:2265)
> at 
> org.apache.sqoop.repository.common.CommonRepositoryHandler.loadJobs(CommonRepositoryHandler.java:1876)
>at 
> org.apache.sqoop.repository.common.CommonRepositoryHandler.findJob(CommonRepositoryHandler.java:885)
>  at 
> org.apache.sqoop.repository.JdbcRepository$20.doIt(JdbcRepository.java:500)  
> at 
> org.apache.sqoop.repository.JdbcRepository.doWithConnection(JdbcRepository.java:92)
>   at 
> org.apache.sqoop.repository.JdbcRepository.doWithConnection(JdbcRepository.java:63)
>   at 
> org.apache.sqoop.repository.JdbcRepository.findJob(JdbcRepository.java:497)  
> at 
> org.apache.sqoop.driver.JobManager.getJob(JobManager.java:438)   at 
> org.apache.sqoop.driver.JobManager.invokeDestroyerOnJobSuccess(JobManager.java:517)
>   at 
> org.apache.sqoop.driver.JobManager.updateSubmission(JobManager.java:655) 
> at 
> org.apache.sqoop.driver.JobManager.status(JobManager.java:636)   at 
> org.apache.sqoop.handler.JobRequestHandler.getJobStatus(JobRequestHandler.java:410)
>   at 
> org.apache.sqoop.handler.JobRequestHandler.handleEvent(JobRequestHandler.java:102)
>at 
> org.apache.sqoop.server.v1.JobServlet.handleGetRequest(JobServlet.java:86)   
> at 
> org.apache.sqoop.server.SqoopProtocolServlet.doGet(SqoopProtocolServlet.java:48)
>  at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilt

[jira] [Commented] (SQOOP-2516) Sqoop2: Findbugs: Fix warning in execution module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2516:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2516: Sqoop2: Findbugs: Fix warning in execution module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=9f076edb0265fda24705320e944511dd0fee772e)
* 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopInputFormat.java
* 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopNullOutputFormat.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java
* execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopSplit.java
* 
execution/mapreduce/src/main/java/org/apache/sqoop/execution/mapreduce/MapreduceExecutionEngine.java
* 
execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/MRConfigurationUtils.java


> Sqoop2: Findbugs: Fix warning in execution module
> -
>
> Key: SQOOP-2516
> URL: https://issues.apache.org/jira/browse/SQOOP-2516
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2516.001.patch, SQOOP-2516.002.patch, 
> SQOOP-2516.003.patch
>
>
> Fix warning in execution module



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


[jira] [Commented] (SQOOP-2529) Sqoop2: findbugs: Fix warning in tools module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2529:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2529: Sqoop2: findbugs: Fix warning in tools module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=afa865e3b8e84564f96a32700cc681c4339b15cf)
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryDumpTool.java
* tools/src/main/java/org/apache/sqoop/tools/tool/RepositoryLoadTool.java


> Sqoop2: findbugs: Fix warning in tools module
> -
>
> Key: SQOOP-2529
> URL: https://issues.apache.org/jira/browse/SQOOP-2529
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 1.99.7
>
> Attachments: SQOOP-2529.001.patch
>
>
> Fix warning in tools module



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


[jira] [Commented] (SQOOP-2526) Sqoop2: findbugs: Fix warning in shell module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2526:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2526: Sqoop2: findbugs: Fix warning in shell module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=b151ba3844625a8a5f3baaeae32973af7f3d0f3b)
* shell/src/main/java/org/apache/sqoop/shell/CloneLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/CloneJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowConnectorFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowRoleFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowServerFunction.java
* shell/src/main/java/org/apache/sqoop/shell/GrantPrivilegeFunction.java
* shell/src/main/java/org/apache/sqoop/shell/RevokePrivilegeFunction.java
* shell/src/main/java/org/apache/sqoop/shell/utils/LinkDynamicConfigOptions.java
* shell/src/main/java/org/apache/sqoop/shell/EnableJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowVersionFunction.java
* shell/src/main/java/org/apache/sqoop/shell/EnableLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/CreateJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/utils/JobDynamicConfigOptions.java
* shell/src/main/java/org/apache/sqoop/shell/RevokeRoleFunction.java
* shell/src/main/java/org/apache/sqoop/shell/DeleteLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/DisableJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowOptionFunction.java
* shell/src/main/java/org/apache/sqoop/shell/StopJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowJobStatusFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowPrincipalFunction.java
* shell/src/main/java/org/apache/sqoop/shell/GrantRoleFunction.java
* shell/src/main/java/org/apache/sqoop/shell/UpdateLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowPrivilegeFunction.java
* shell/src/main/java/org/apache/sqoop/shell/DisableLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/StartJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/CreateRoleFunction.java
* shell/src/main/java/org/apache/sqoop/shell/SetServerFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowSubmissionFunction.java
* shell/src/main/java/org/apache/sqoop/shell/DeleteJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/DeleteRoleFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowDriverFunction.java
* shell/src/main/java/org/apache/sqoop/shell/ShowJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/utils/SubmissionDisplayer.java
* shell/src/main/java/org/apache/sqoop/shell/CreateLinkFunction.java
* shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java
* shell/src/main/java/org/apache/sqoop/shell/SetOptionFunction.java
* shell/src/main/java/org/apache/sqoop/shell/UpdateJobFunction.java
* shell/src/main/java/org/apache/sqoop/shell/SqoopShell.java


> Sqoop2: findbugs: Fix warning in shell module
> -
>
> Key: SQOOP-2526
> URL: https://issues.apache.org/jira/browse/SQOOP-2526
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2526.001.patch
>
>
> Fix warning in shell module



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


[jira] [Commented] (SQOOP-2528) Sqoop2: findbugs: Fix warning in test module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2528:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2528: Sqoop2: findbugs: Fix warning in test module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=3864ccf036e092fd8b46f0403b19f0bff515990e)
* test/src/main/java/org/apache/sqoop/test/utils/CompressionUtils.java
* test/src/main/java/org/apache/sqoop/test/testng/SqoopTestListener.java
* test/src/main/java/org/apache/sqoop/test/testcases/ConnectorTestCase.java
* test/src/main/java/org/apache/sqoop/test/hive/HiveServerRunner.java
* test/src/main/java/org/apache/sqoop/test/hive/MetastoreServerRunner.java
* test/src/main/java/org/apache/sqoop/test/asserts/HdfsAsserts.java
* test/src/main/java/org/apache/sqoop/test/infrastructure/SqoopTestCase.java
* test/src/main/java/org/apache/sqoop/test/hadoop/HadoopRealClusterRunner.java
* test/src/main/java/org/apache/sqoop/test/utils/HdfsUtils.java


> Sqoop2: findbugs: Fix warning in test module
> 
>
> Key: SQOOP-2528
> URL: https://issues.apache.org/jira/browse/SQOOP-2528
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2528.001.patch
>
>
> Fix warning in test module



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


[jira] [Commented] (SQOOP-2523) Sqoop2: Findbugs: Fix warning in server module

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on SQOOP-2523:
---

ABORTED: Integrated in Sqoop2 #893 (See 
[https://builds.apache.org/job/Sqoop2/893/])
SQOOP-2523: Sqoop2: Findbugs: Fix warning in server module (jarcec: 
https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=4014c7fbf3d833fb8f933c2de1298a822b30b0f8)
* server/src/main/java/org/apache/sqoop/server/v1/ConnectorServlet.java
* server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/DriverRequestHandler.java
* server/src/main/java/org/apache/sqoop/server/RequestHandler.java
* server/src/main/java/org/apache/sqoop/server/SqoopProtocolServlet.java
* server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java
* server/src/main/java/org/apache/sqoop/server/v1/JobServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/JobsServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/SubmissionsServlet.java
* server/src/main/java/org/apache/sqoop/handler/AuthorizationRequestHandler.java
* server/src/main/java/org/apache/sqoop/handler/HandlerUtils.java
* server/src/main/java/org/apache/sqoop/server/v1/DriverServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/AuthorizationServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/ConfigurableServlet.java
* server/src/main/java/org/apache/sqoop/server/VersionServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/LinkServlet.java
* server/src/main/java/org/apache/sqoop/server/v1/ConnectorsServlet.java
* server/src/main/java/org/apache/sqoop/handler/ConnectorRequestHandler.java
* common/src/main/java/org/apache/sqoop/json/VersionBean.java
* server/src/main/java/org/apache/sqoop/server/v1/LinksServlet.java
* server/src/main/java/org/apache/sqoop/handler/VersionRequestHandler.java


> Sqoop2: Findbugs: Fix warning in server module
> --
>
> Key: SQOOP-2523
> URL: https://issues.apache.org/jira/browse/SQOOP-2523
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2523.001.patch
>
>
> Fix warning in server module



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


[jira] [Commented] (SQOOP-2462) Sqoop2: Provide List type for configuration objects

2015-09-09 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SQOOP-2462:


Commit 9f69badd9625adbfdbc8c719906f58de888bf54a in sqoop's branch 
refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=9f69bad ]

SQOOP-2462: Sqoop2: Provide List type for configuration objects

(Dian Fu via Jarek Jarcec Cecho)


> Sqoop2: Provide List type for configuration objects
> ---
>
> Key: SQOOP-2462
> URL: https://issues.apache.org/jira/browse/SQOOP-2462
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2462.1.patch, SQOOP-2462.2.patch
>
>
> While doing some changes inside JDBC Connector I came to a need of {{List}} 
> type in addition to the existing {{Map}} that we have. After having 
> discussion with [~jseidman] that is working on (S)FTP connectors he mentioned 
> the same need, so I'm creating this JIRA :)



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


Re: Review Request 38209: Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Jarek Cecho

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38209/#review98173
---

Ship it!


Ship It!

- Jarek Cecho


On Sept. 9, 2015, 7:54 a.m., Dian Fu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38209/
> ---
> 
> (Updated Sept. 9, 2015, 7:54 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2462
> https://issues.apache.org/jira/browse/SQOOP-2462
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> ---
> 
> While doing some changes inside JDBC Connector I came to a need of List type 
> in addition to the existing Map that we have. After having discussion with 
> Jonathan Seidman that is working on (S)FTP connectors he mentioned the same 
> need, so I'm creating this JIRA
> 
> 
> Diffs
> -
> 
>   
> common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java 
> 0d40715 
>   common/src/main/java/org/apache/sqoop/model/ConfigUtils.java b4146a7 
>   common/src/main/java/org/apache/sqoop/model/MConfig.java 9e12979 
>   common/src/main/java/org/apache/sqoop/model/MConfigList.java d09434a 
>   common/src/main/java/org/apache/sqoop/model/MInputType.java 7e6b90a 
>   common/src/main/java/org/apache/sqoop/model/MListInput.java PRE-CREATION 
>   
> common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java 
> d2989d3 
>   common/src/test/java/org/apache/sqoop/model/TestMConfig.java 2b47c13 
>   common/src/test/java/org/apache/sqoop/model/TestMConfigList.java 3dfc33a 
>   common/src/test/java/org/apache/sqoop/model/TestMListInput.java 
> PRE-CREATION 
>   
> repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
>  46235be 
>   shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java 
> 6540a52 
>   shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java 8b5f380 
> 
> Diff: https://reviews.apache.org/r/38209/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Dian Fu
> 
>



[jira] [Commented] (SQOOP-2489) Sqoop2: Hive with Parquet in Kite Connector

2015-09-09 Thread Jarek Jarcec Cecho (JIRA)

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

Jarek Jarcec Cecho commented on SQOOP-2489:
---

I'll drop the "Patch available" state for now as we're waiting on integration 
test for the fix. Please do not hesitate and put the state back when ready!

> Sqoop2: Hive with Parquet in Kite Connector
> ---
>
> Key: SQOOP-2489
> URL: https://issues.apache.org/jira/browse/SQOOP-2489
> Project: Sqoop
>  Issue Type: Bug
>  Components: sqoop2-kite-connector
>Affects Versions: 1.99.6
>Reporter: Abraham Elmahrek
>Assignee: slee
> Fix For: 1.99.7
>
> Attachments: 0001-fix-jira-SQOOP-2489.patch
>
>
> {code}
> java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/io/HiveOutputFormat
>   at java.lang.ClassLoader.defineClass1(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:190)
>   at 
> org.kitesdk.data.spi.hive.HiveUtils.getHiveParquetOutputFormat(HiveUtils.java:446)
>   at org.kitesdk.data.spi.hive.HiveUtils.(HiveUtils.java:91)
>   at 
> org.kitesdk.data.spi.hive.HiveManagedMetadataProvider.create(HiveManagedMetadataProvider.java:83)
>   at 
> org.kitesdk.data.spi.hive.HiveManagedDatasetRepository.create(HiveManagedDatasetRepository.java:77)
>   at org.kitesdk.data.Datasets.create(Datasets.java:239)
>   at org.kitesdk.data.Datasets.create(Datasets.java:307)
>   at org.kitesdk.data.Datasets.create(Datasets.java:335)
>   at 
> org.apache.sqoop.connector.kite.KiteDatasetExecutor.createDataset(KiteDatasetExecutor.java:70)
>   at 
> org.apache.sqoop.connector.kite.KiteLoader.getExecutor(KiteLoader.java:52)
>   at org.apache.sqoop.connector.kite.KiteLoader.load(KiteLoader.java:62)
>   at org.apache.sqoop.connector.kite.KiteLoader.load(KiteLoader.java:36)
>   at 
> org.apache.sqoop.job.mr.SqoopOutputFormatLoadExecutor$ConsumerThread.run(SqoopOutputFormatLoadExecutor.java:250)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: 
> org.apache.hadoop.hive.ql.io.HiveOutputFormat
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>   ... 31 more
> {code}



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


[jira] [Commented] (SQOOP-2537) Sqoop2: Use object name instead of object id for the name filed in MResource

2015-09-09 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SQOOP-2537:


Commit 66989a6ec5176b17cf96fd582fa26382b773628f in sqoop's branch 
refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=66989a6 ]

SQOOP-2537: Sqoop2: Use object name instead of object id for the name filed in 
MResource

(Dian Fu via Jarek Jarcec Cecho)


> Sqoop2: Use object name instead of object id for the name filed in MResource
> 
>
> Key: SQOOP-2537
> URL: https://issues.apache.org/jira/browse/SQOOP-2537
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Dian Fu
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2537.001.patch, SQOOP-2537.003.patch
>
>
> Currently the meaning of the name field in MResource isn't consistent. Some 
> places assume this field means the object name of the resource, such as in 
> AuthorizationRequestHandler. Some places assume this field means the object 
> id of the resource, such as in AuthorizationEngine.



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


Re: Review Request 37868: Sqoop2: Use object name instead of object id for the name filed in MResource

2015-09-09 Thread Jarek Cecho

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37868/#review98172
---

Ship it!


Ship It!

- Jarek Cecho


On Sept. 9, 2015, 2:03 a.m., Dian Fu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37868/
> ---
> 
> (Updated Sept. 9, 2015, 2:03 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2537
> https://issues.apache.org/jira/browse/SQOOP-2537
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> ---
> 
> Currently the meaning of the name field in MResource isn't consistent. Some 
> places assume this field means the object name of the resource, such as in 
> AuthorizationRequestHandler. Some places assume this field means the object 
> id of the resource, such as in AuthorizationEngine.
> 
> 
> Diffs
> -
> 
>   
> security/src/main/java/org/apache/sqoop/security/authorization/AuthorizationEngine.java
>  bebbe91 
>   server/src/main/java/org/apache/sqoop/handler/ConnectorRequestHandler.java 
> 23f6c63 
>   server/src/main/java/org/apache/sqoop/handler/JobRequestHandler.java 
> 13ebb35 
>   server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java 
> aa7e5ff 
>   server/src/main/java/org/apache/sqoop/handler/SubmissionRequestHandler.java 
> f2a6758 
> 
> Diff: https://reviews.apache.org/r/37868/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Dian Fu
> 
>



[jira] [Commented] (SQOOP-2557) Sqoop2: Findbugs: move findbug dependency to the root pom.xml

2015-09-09 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SQOOP-2557:


Commit 547a5b43506a09d993cdd2c9cfad321a5573a5c0 in sqoop's branch 
refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=547a5b4 ]

SQOOP-2557: Sqoop2: Findbugs: move findbug dependency to the root pom.xml

(Colin Ma via Jarek Jarcec Cecho)


> Sqoop2: Findbugs: move findbug dependency to the root pom.xml
> -
>
> Key: SQOOP-2557
> URL: https://issues.apache.org/jira/browse/SQOOP-2557
> Project: Sqoop
>  Issue Type: Sub-task
>Reporter: Colin Ma
>Assignee: Colin Ma
>Priority: Minor
> Fix For: 1.99.7
>
> Attachments: SQOOP-2557.001.patch
>
>
> move findbug dependency to the root pom.xml



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


Re: Review Request 38198: SQOOP-2557: Sqoop2: Findbugs: move findbug dependency to the root pom.xml

2015-09-09 Thread Jarek Cecho

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38198/#review98171
---

Ship it!


Ship It!

- Jarek Cecho


On Sept. 9, 2015, 2:19 a.m., Colin Ma wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38198/
> ---
> 
> (Updated Sept. 9, 2015, 2:19 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> ---
> 
> move findbug dependency to the root pom.xml
> 
> 
> Diffs
> -
> 
>   common-test/pom.xml 1306598 
>   connector/connector-generic-jdbc/pom.xml 8552770 
>   connector/connector-kite/pom.xml ff3e0c8 
>   connector/connector-sdk/pom.xml 5e20713 
>   core/pom.xml f749890 
>   execution/mapreduce/pom.xml 4fc3046 
>   pom.xml 6a2d78e 
>   repository/repository-common/pom.xml 97a2dc1 
>   repository/repository-derby/pom.xml ce82900 
>   repository/repository-mysql/pom.xml 586e1bc 
>   repository/repository-postgresql/pom.xml e609efe 
>   server/pom.xml 53307f8 
>   shell/pom.xml f54160f 
> 
> Diff: https://reviews.apache.org/r/38198/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Colin Ma
> 
>



[jira] [Commented] (SQOOP-2462) Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2462:
-

Testing file 
[SQOOP-2462.2.patch|https://issues.apache.org/jira/secure/attachment/12754855/SQOOP-2462.2.patch]
 against branch sqoop2 took 0:53:41.506860.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1420 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1678/artifact/patch-process/cobertura_report.txt])
{color:green}SUCCESS:{color} No new findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1678/artifact/patch-process/findbugs_report.txt])
{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1678/console].

This message is automatically generated.

> Sqoop2: Provide List type for configuration objects
> ---
>
> Key: SQOOP-2462
> URL: https://issues.apache.org/jira/browse/SQOOP-2462
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2462.1.patch, SQOOP-2462.2.patch
>
>
> While doing some changes inside JDBC Connector I came to a need of {{List}} 
> type in addition to the existing {{Map}} that we have. After having 
> discussion with [~jseidman] that is working on (S)FTP connectors he mentioned 
> the same need, so I'm creating this JIRA :)



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


RE: About switch Tomcat to Jetty

2015-09-09 Thread Xu, Qian A
Upon the initial proposal of Richard, yes +1

-Original Message-
From: Ma, Junjie [mailto:junjie...@intel.com] 
Sent: Wednesday, September 09, 2015 4:36 PM
To: dev@sqoop.apache.org
Subject: RE: About switch Tomcat to Jetty

Thanks, I'll check the JIRA and merge the patch if possible.

Best regards,

Colin Ma(Ma Jun Jie)

-Original Message-
From: Abraham Elmahrek [mailto:a...@cloudera.com]
Sent: Wednesday, September 9, 2015 3:50 PM
To: dev@sqoop.apache.org
Subject: Re: About switch Tomcat to Jetty

+1 to jetty. There was also a patch to add a jetty minicluster:
https://issues.apache.org/jira/browse/SQOOP-2104.

-Abe

On Wed, Sep 9, 2015 at 12:33 AM Jarek Jarcec Cecho 
wrote:

> I’m supportive of the idea to migrate from Tomcat to Jetty - +1 and 
> thank you for picking it up Colin!
>
> Jarcec
>
> > On Sep 9, 2015, at 8:29 AM, Ma, Junjie  wrote:
> >
> > Hi all,
> > Currently, the Sqoop2 works with tomcat and it's not easy to 
> > do
> the package, test and so on.
> > I'll start to switch the web server from Tomcat to Jetty, 
> > and
> the umbrella JIRA is SQOOP-910.
> > This is a huge change, feel free for any comments, thanks 
> > for
> your help.
> >
> > Best regards,
> >
> > Colin Ma(Ma Jun Jie)
> >
>
>


RE: About switch Tomcat to Jetty

2015-09-09 Thread Ma, Junjie
Thanks, I'll check the JIRA and merge the patch if possible.

Best regards,

Colin Ma(Ma Jun Jie)

-Original Message-
From: Abraham Elmahrek [mailto:a...@cloudera.com] 
Sent: Wednesday, September 9, 2015 3:50 PM
To: dev@sqoop.apache.org
Subject: Re: About switch Tomcat to Jetty

+1 to jetty. There was also a patch to add a jetty minicluster:
https://issues.apache.org/jira/browse/SQOOP-2104.

-Abe

On Wed, Sep 9, 2015 at 12:33 AM Jarek Jarcec Cecho 
wrote:

> I’m supportive of the idea to migrate from Tomcat to Jetty - +1 and 
> thank you for picking it up Colin!
>
> Jarcec
>
> > On Sep 9, 2015, at 8:29 AM, Ma, Junjie  wrote:
> >
> > Hi all,
> > Currently, the Sqoop2 works with tomcat and it's not easy to 
> > do
> the package, test and so on.
> > I'll start to switch the web server from Tomcat to Jetty, 
> > and
> the umbrella JIRA is SQOOP-910.
> > This is a huge change, feel free for any comments, thanks 
> > for
> your help.
> >
> > Best regards,
> >
> > Colin Ma(Ma Jun Jie)
> >
>
>


Re: Review Request 37923: SQOOP-2547 Sqoop2: RESTiliency: Provide REST tests for v1/connector servlet

2015-09-09 Thread Jarek Cecho


> On Sept. 8, 2015, 5:39 a.m., Dian Fu wrote:
> > test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java,
> >  line 148
> > 
> >
> > Patch ofSQOOP-2544 has removed the check of the request method. So 
> > either we need refine the patch of SQOOP-2544 to revert that modification 
> > or we need modify patch here.
> 
> Jarek Cecho wrote:
> I believe taht SQOOP-2544 is removing just the "/connectors" end point 
> whereas this patch is adding tests only for "/connector", right? (E.g. the 
> SQOOP-2544 is dropping support for the end point with "plurar" form whereas 
> this patch uses only the end point in "singular" that has been unchanged)
> 
> Dian Fu wrote:
> SQOOP-2544 also made some modification to file 
> ConnectorRequestHandler.java. This file is used by both "/connectors" and 
> "/connector" end point. With that modifcation, the tests added here will 
> failed.

Got it, I'll wait on SQOOP-2544 getting in and then fixing this one then. 
Thanks for catching it!


- Jarek


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37923/#review97967
---


On Aug. 29, 2015, 1:46 p.m., Jarek Cecho wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37923/
> ---
> 
> (Updated Aug. 29, 2015, 1:46 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2547
> https://issues.apache.org/jira/browse/SQOOP-2547
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> ---
> 
> Provided additional tests...
> 
> 
> Diffs
> -
> 
>   
> test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
>  da3a6ea 
> 
> Diff: https://reviews.apache.org/r/37923/diff/
> 
> 
> Testing
> ---
> 
> ...that are passing!
> 
> 
> Thanks,
> 
> Jarek Cecho
> 
>



Re: Review Request 38209: Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Dian Fu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38209/
---

(Updated Sept. 9, 2015, 7:54 a.m.)


Review request for Sqoop.


Bugs: SQOOP-2462
https://issues.apache.org/jira/browse/SQOOP-2462


Repository: sqoop-sqoop2


Description
---

While doing some changes inside JDBC Connector I came to a need of List type in 
addition to the existing Map that we have. After having discussion with 
Jonathan Seidman that is working on (S)FTP connectors he mentioned the same 
need, so I'm creating this JIRA


Diffs (updated)
-

  common/src/main/java/org/apache/sqoop/json/util/ConfigInputSerialization.java 
0d40715 
  common/src/main/java/org/apache/sqoop/model/ConfigUtils.java b4146a7 
  common/src/main/java/org/apache/sqoop/model/MConfig.java 9e12979 
  common/src/main/java/org/apache/sqoop/model/MConfigList.java d09434a 
  common/src/main/java/org/apache/sqoop/model/MInputType.java 7e6b90a 
  common/src/main/java/org/apache/sqoop/model/MListInput.java PRE-CREATION 
  common/src/test/java/org/apache/sqoop/json/util/TestConfigSerialization.java 
d2989d3 
  common/src/test/java/org/apache/sqoop/model/TestMConfig.java 2b47c13 
  common/src/test/java/org/apache/sqoop/model/TestMConfigList.java 3dfc33a 
  common/src/test/java/org/apache/sqoop/model/TestMListInput.java PRE-CREATION 
  
repository/repository-common/src/main/java/org/apache/sqoop/repository/common/CommonRepositoryHandler.java
 46235be 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigDisplayer.java 6540a52 
  shell/src/main/java/org/apache/sqoop/shell/utils/ConfigFiller.java 8b5f380 

Diff: https://reviews.apache.org/r/38209/diff/


Testing
---


Thanks,

Dian Fu



[jira] [Updated] (SQOOP-2462) Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Dian Fu (JIRA)

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

Dian Fu updated SQOOP-2462:
---
Attachment: SQOOP-2462.2.patch

Updated the patch to add missing {{break;}} for {{case}} statement.

> Sqoop2: Provide List type for configuration objects
> ---
>
> Key: SQOOP-2462
> URL: https://issues.apache.org/jira/browse/SQOOP-2462
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2462.1.patch, SQOOP-2462.2.patch
>
>
> While doing some changes inside JDBC Connector I came to a need of {{List}} 
> type in addition to the existing {{Map}} that we have. After having 
> discussion with [~jseidman] that is working on (S)FTP connectors he mentioned 
> the same need, so I'm creating this JIRA :)



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


Re: About switch Tomcat to Jetty

2015-09-09 Thread Abraham Elmahrek
+1 to jetty. There was also a patch to add a jetty minicluster:
https://issues.apache.org/jira/browse/SQOOP-2104.

-Abe

On Wed, Sep 9, 2015 at 12:33 AM Jarek Jarcec Cecho 
wrote:

> I’m supportive of the idea to migrate from Tomcat to Jetty - +1 and thank
> you for picking it up Colin!
>
> Jarcec
>
> > On Sep 9, 2015, at 8:29 AM, Ma, Junjie  wrote:
> >
> > Hi all,
> > Currently, the Sqoop2 works with tomcat and it's not easy to do
> the package, test and so on.
> > I'll start to switch the web server from Tomcat to Jetty, and
> the umbrella JIRA is SQOOP-910.
> > This is a huge change, feel free for any comments, thanks for
> your help.
> >
> > Best regards,
> >
> > Colin Ma(Ma Jun Jie)
> >
>
>


[jira] [Commented] (SQOOP-2462) Sqoop2: Provide List type for configuration objects

2015-09-09 Thread Sqoop QA bot (JIRA)

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

Sqoop QA bot commented on SQOOP-2462:
-

Testing file 
[SQOOP-2462.1.patch|https://issues.apache.org/jira/secure/attachment/12754835/SQOOP-2462.1.patch]
 against branch sqoop2 took 0:53:30.040458.

{color:green}Overall:{color} +1 all checks pass

{color:green}SUCCESS:{color} Clean was successful
{color:green}SUCCESS:{color} Patch applied correctly
{color:green}SUCCESS:{color} Patch add/modify test case
{color:green}SUCCESS:{color} License check passed
{color:green}SUCCESS:{color} Patch compiled
{color:green}SUCCESS:{color} All unit tests passed (executed 1420 tests)
{color:green}SUCCESS:{color} Test coverage did not decreased 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1677/artifact/patch-process/cobertura_report.txt])
{color:orange}WARNING:{color} New findbugs warnings 
([report|https://builds.apache.org/job/PreCommit-SQOOP-Build/1677/artifact/patch-process/findbugs_report.txt])
* Package {{repository/repository-common}}: Class 
{{org.apache.sqoop.repository.common.CommonRepositoryHandler}} introduced 1 
completely new findbugs warnings.


{color:green}SUCCESS:{color} All integration tests passed (executed 79 tests)

Console output is available 
[here|https://builds.apache.org/job/PreCommit-SQOOP-Build/1677/console].

This message is automatically generated.

> Sqoop2: Provide List type for configuration objects
> ---
>
> Key: SQOOP-2462
> URL: https://issues.apache.org/jira/browse/SQOOP-2462
> Project: Sqoop
>  Issue Type: Bug
>Affects Versions: 1.99.6
>Reporter: Jarek Jarcec Cecho
>Assignee: Dian Fu
> Fix For: 1.99.7
>
> Attachments: SQOOP-2462.1.patch
>
>
> While doing some changes inside JDBC Connector I came to a need of {{List}} 
> type in addition to the existing {{Map}} that we have. After having 
> discussion with [~jseidman] that is working on (S)FTP connectors he mentioned 
> the same need, so I'm creating this JIRA :)



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


Re: About switch Tomcat to Jetty

2015-09-09 Thread Jarek Jarcec Cecho
I’m supportive of the idea to migrate from Tomcat to Jetty - +1 and thank you 
for picking it up Colin!

Jarcec

> On Sep 9, 2015, at 8:29 AM, Ma, Junjie  wrote:
> 
> Hi all,
> Currently, the Sqoop2 works with tomcat and it's not easy to do the 
> package, test and so on.
> I'll start to switch the web server from Tomcat to Jetty, and the 
> umbrella JIRA is SQOOP-910.
> This is a huge change, feel free for any comments, thanks for your 
> help.
> 
> Best regards,
> 
> Colin Ma(Ma Jun Jie)
> 



[jira] [Created] (SQOOP-2560) Sqoop2: Jetty: Create new class for Jetty server and update the start script.

2015-09-09 Thread Colin Ma (JIRA)
Colin Ma created SQOOP-2560:
---

 Summary: Sqoop2: Jetty: Create new class for Jetty server and 
update the start script.
 Key: SQOOP-2560
 URL: https://issues.apache.org/jira/browse/SQOOP-2560
 Project: Sqoop
  Issue Type: Sub-task
Reporter: Colin Ma
Assignee: Colin Ma


 Create new class for Jetty server and update the start script(sqoop.sh).



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


[jira] [Updated] (SQOOP-2558) Sqoop2: Jetty: Updaet sqoop-server, package with jar, remove war

2015-09-09 Thread Colin Ma (JIRA)

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

Colin Ma updated SQOOP-2558:

Description: Updaet sqoop-server, package with jar, remove war, import the 
jetty-server to the project.  (was: Updaet sqoop-server, package with jar, 
remove war)

> Sqoop2: Jetty: Updaet sqoop-server, package with jar, remove war
> 
>
> Key: SQOOP-2558
> URL: https://issues.apache.org/jira/browse/SQOOP-2558
> Project: Sqoop
>  Issue Type: Sub-task
>  Components: sqoop2-server
>Reporter: Colin Ma
>Assignee: Colin Ma
> Fix For: 2.0.0
>
>
> Updaet sqoop-server, package with jar, remove war, import the jetty-server to 
> the project.



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