sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Elmahrek" <...@cloudera.com>
Subject Re: Review Request 26931: SQOOP-1527: Kerberos support (SPNEGO) in communication between server and client
Date Wed, 12 Nov 2014 09:23:16 GMT


> On Nov. 12, 2014, 8:38 a.m., Abraham Elmahrek wrote:
> > Integration tests are failing for me:
> >         <error type="java.lang.NullPointerException">java.lang.NullPointerException
> >         at org.apache.sqoop.json.ConnectorsBean.restore(ConnectorsBean.java:57)
> >         at org.apache.sqoop.client.request.ConnectorResourceRequest.read(ConnectorResourceRequest.java:46)
> >         at org.apache.sqoop.client.request.SqoopResourceRequests.readConnector(SqoopResourceRequests.java:92)
> >         at org.apache.sqoop.client.SqoopClient.getConnectors(SqoopClient.java:203)
> >         at org.apache.sqoop.client.SqoopClient.getConnector(SqoopClient.java:160)
> >         at org.apache.sqoop.client.SqoopClient.createLink(SqoopClient.java:293)
> >         at org.apache.sqoop.integration.connector.jdbc.generic.FromHDFSToRDBMSTest.testBasic(FromHDFSToRDBMSTest.java:46)
> >         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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> >         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> >         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> >         at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> >         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> >         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> >         at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> >         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> >         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> >         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> >         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> >         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> >         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> >         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> >         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> >         at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> >         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> >         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> >         at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> >         at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> >         at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> >         at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> >         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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> >         at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> >         at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> >         at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> >         at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> 
> richard zhou wrote:
>     which command do you run?
>     mvn clean verify?

mvn clean integration-test -Dsqoop.hadoop.runner.class=org.apache.sqoop.test.hadoop.HadoopLocalRunner


- Abraham


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


On Nov. 12, 2014, 9:17 a.m., richard zhou wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26931/
> -----------------------------------------------------------
> 
> (Updated Nov. 12, 2014, 9:17 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> -------
> 
> SQOOP-1527: Kerberos support (SPNEGO) in communication between server and client
> This is an initial patch.
> This patch depends on SQOOP-1526, which is under reviewing (https://reviews.apache.org/r/26678/diff/#)
> 
> 
> Diffs
> -----
> 
>   client/pom.xml b2e221ec3b5398c05fa081989e73cf1f2c4d43e5 
>   client/src/main/java/org/apache/sqoop/client/request/ResourceRequest.java c84a83e3fd7c550645bda8cf5a0ecc844ef7721d

>   core/src/main/java/org/apache/sqoop/security/AuthenticationConstants.java 645555ffa7fd344e35618dfcfc4a90367d2310e8

>   core/src/main/java/org/apache/sqoop/security/AuthenticationError.java 73cd8cfbfc0c70828b8941cd9a63976e3e04923e

>   dist/src/main/server/conf/sqoop.properties 3ba50ef7a728e7d2d873fd8c537b3fec9fc85a19

>   pom.xml 9ff51d12620ce5c220a33e68819f9004c44a6d99 
>   server/pom.xml 4a5eb5e4b0ff21e2166985f9026ac520f66df4b3 
>   server/src/main/java/org/apache/sqoop/filter/SqoopAuthenticationFilter.java PRE-CREATION

>   server/src/main/webapp/WEB-INF/web.xml d405c8835b5fc21e5ecaa5c5e9137c75c8cb4644 
>   shell/pom.xml 947eab02b229f734640c30de3a7d45ba86656d58 
> 
> Diff: https://reviews.apache.org/r/26931/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> richard zhou
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message