-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46767/
-----------------------------------------------------------
Review request for lens.
Bugs: lens-383
https://issues.apache.org/jira/browse/lens-383
Repository: lens
Description
-------
To handle cases where server is not responding or slow in response, we need to
put timeouts on api calls in lens client.
Note:
This patch hanlde changes for lens-client users only (lens-regression and
lens-ml-lib are also creating clients for limited functionality which is not
addressed here)
Diffs
-----
lens-client/src/main/java/org/apache/lens/client/LensClientConfig.java
6a35a5e73708209d9711d9cfb05d8742ad9ed895
lens-client/src/main/java/org/apache/lens/client/LensConnection.java
0c2557c3a9a6c478cf20df3b94dd0d328eb19d27
lens-client/src/main/resources/lens-client-default.xml
5a578a79200be84d7517378f40c3b25db6278cf9
lens-client/src/test/java/org/apache/lens/client/TestLensClient.java
6e638f1c6a8dbb9c625cb69e90286ac20a222652
src/site/apt/admin/config.apt b5853bfac00d0ba5b4c5409ed6c419050bc86ae5
src/site/apt/user/client-config.apt 4ed41b43bc347318be023eedc96bc57613060b03
Diff: https://reviews.apache.org/r/46767/diff/
Testing
-------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Lens client 2.6.0-beta-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lens-client ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ lens-client ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
lens-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/d0/jenkins/workspace/Platform_Common_Job/lens-client/src/deb/control
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lens-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to
/d0/jenkins/workspace/Platform_Common_Job/lens-client/target/classes
[WARNING]
/d0/jenkins/workspace/Platform_Common_Job/lens-client/src/main/java/org/apache/lens/client/jdbc/LensJdbcResultSet.java:
/d0/jenkins/workspace/Platform_Common_Job/lens-client/src/main/java/org/apache/lens/client/jdbc/LensJdbcResultSet.java
uses or overrides a deprecated API.
[WARNING]
/d0/jenkins/workspace/Platform_Common_Job/lens-client/src/main/java/org/apache/lens/client/jdbc/LensJdbcResultSet.java:
Recompile with -Xlint:deprecation for details.
[INFO]
[INFO] --- maven-dependency-plugin:2.8:build-classpath (build-classpath) @
lens-client ---
[INFO] Wrote classpath file
'/d0/jenkins/workspace/Platform_Common_Job/lens-client/target/classpath'.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @
lens-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
lens-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to
/d0/jenkins/workspace/Platform_Common_Job/lens-client/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @ lens-client ---
[INFO] Surefire report directory:
/d0/jenkins/workspace/Platform_Common_Job/lens-client/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m;
support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m;
support was removed in 8.0
Running TestSuite
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.336 sec -
in TestSuite
Results :
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0
Thanks,
Puneet Gupta