Build #3,241

License check with RAT and Checkstyle

Build: #3241 failed Changes by Terence Yim

Code commits

CDAP

  • Terence Yim

    Terence Yim 554633045da7f63178dbbf0353a84abc28c9269a

    Merge branch 'release/4.1' into develop

  • Terence Yim

    Terence Yim 8c2b709f07faa3ee63313283d0a7dcd787a718be m

    Merge pull request #8440 from caskdata/feature_release/CDAP-8980-fix-spark-cl
    (CDAP-8980) Use the same defining class loader for all classes in Spark

  • Terence Yim

    Terence Yim 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5 m

    (CDAP-8980) Use the same defining class loader for all classes in Spark container for system classes.
    - Separate out the Spark class rewrite logic from the SparkRunnerClassLoader
    - Allow ClassRewriter.rewrite to return null
      - This allow determining if a class is actually needed to be rewritten
        after inspecting the byte code
      - The InterceptableClassLoader.needIntercept method is still needed
        as a quick check before opening the byte code to inspect
    - Move SparkRunnerClassLoader into classloader package

    • cdap-common/src/main/java/co/cask/cdap/common/app/MainClassLoader.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/ClassRewriter.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/InterceptableClassLoader.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-common/src/main/java/co/cask/cdap/internal/asm/Classes.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkProgramRuntimeProvider.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoader.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRuntimeUtils.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkClassRewriter.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkContainerClassLoader.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoader.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/distributed/SparkContainerLauncher.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoaderTest.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoaderTest.java (version 8443f5b4ef4dfb59b3aa08e1af00c93d8558c9b5)
  • Terence Yim

    Terence Yim e8de05b7fc3df07801aeae9b12fad8edcd1a8b05 m

    Merge pull request #8439 from caskdata/revert-8430-feature_release/CDAP-8980-fix-spark-cl
    Revert "(CDAP-8980) Use one ClassLoader as the defining ClassLoader for all Spark class in Spark containers"

  • Terence Yim

    Terence Yim a3df6add6479019d5aa37f9384eb4e8ec5725a57 m

    Revert "(CDAP-8980) Use one ClassLoader as the defining ClassLoader for all Spark class in Spark containers"

    • cdap-common/src/main/java/co/cask/cdap/common/app/MainClassLoader.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/ClassRewriter.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/InterceptableClassLoader.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-common/src/main/java/co/cask/cdap/internal/asm/Classes.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkProgramRuntimeProvider.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoader.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRuntimeUtils.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkClassRewriter.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkContainerClassLoader.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoader.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/distributed/SparkContainerLauncher.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoaderTest.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoaderTest.java (version a3df6add6479019d5aa37f9384eb4e8ec5725a57)
  • Terence Yim

    Terence Yim b8e8b20cd25114262192e7c6a21b6c4a225be563 m

    Merge pull request #8430 from caskdata/feature_release/CDAP-8980-fix-spark-cl
    (CDAP-8980) Use one ClassLoader as the defining ClassLoader for all Spark class in Spark containers

  • vinishavyasa <CuriousVini@users.noreply.github.com>

    vinishavyasa <CuriousVini@users.noreply.github.com> 1c9ff0c6112a5ad079a27bceaf3a3b89743e0ecd m

    Merge pull request #8428 from caskdata/bugfix_release/fix-uncaught-exception-41
    Reduce log level

  • Yaojie Feng

    Yaojie Feng cbab89230b6f28c6af6601de21006a230fa1b30d m

    Merge pull request #8435 from caskdata/feature_release/cherry-pick-8380
    HYDRATOR-1432 stop preview after some time automatically

  • Yaojie Feng

    Yaojie Feng edda2e1e1ae61cda110c9ff39683f0aad763a70d m

    Merge pull request #8434 from caskdata/feature_release/cherry-pick-8410
    CDAP-7677 Make preview cache size configurable and remove the time ex…

  • Yaojie Feng

    Yaojie Feng 9d9f79ad977fd0539c916cfb02ed24489d965066 m

    HYDRATOR-1432 stop preview after some time automatically

    • cdap-app-fabric/src/main/java/co/cask/cdap/app/preview/PreviewStatus.java (version 9d9f79ad977fd0539c916cfb02ed24489d965066)
    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/preview/DefaultPreviewRunner.java (version 9d9f79ad977fd0539c916cfb02ed24489d965066)
    • cdap-app-templates/cdap-etl/cdap-data-pipeline/src/test/java/co/cask/cdap/datapipeline/preview/PreviewDataPipelineTest.java (version 9d9f79ad977fd0539c916cfb02ed24489d965066)
    • cdap-app-templates/cdap-etl/cdap-data-streams/src/test/java/co/cask/cdap/datastreams/preview/PreviewDataStreamsTest.java (version 9d9f79ad977fd0539c916cfb02ed24489d965066)
    • cdap-proto/src/main/java/co/cask/cdap/proto/artifact/preview/PreviewConfig.java (version 9d9f79ad977fd0539c916cfb02ed24489d965066)
  • Yaojie Feng

    Yaojie Feng 66c1e61764264d3d62d5fb00feaa7bc192669da3 m

    CDAP-7677 Make preview cache size configurable and remove the time expiry

    • cdap-app-fabric/src/main/java/co/cask/cdap/internal/app/preview/DefaultPreviewManager.java (version 66c1e61764264d3d62d5fb00feaa7bc192669da3)
    • cdap-common/src/main/java/co/cask/cdap/common/conf/Constants.java (version 66c1e61764264d3d62d5fb00feaa7bc192669da3)
    • cdap-standalone/src/main/resources/cdap-site.xml (version 66c1e61764264d3d62d5fb00feaa7bc192669da3)
  • Chengfeng Mao <mao@cask.co>

    Chengfeng Mao <mao@cask.co> 3359829e3bfd7271de65cab24cb872d6c3c71080 m

    Merge pull request #8425 from caskdata/feature/CDAP-4535-annouce-urls-4-1
    [CDAP-4535] Enable setting Auth Server URI with multiple URL's containing protocol and port

  • Chengfeng <mao@cask.co>

    Chengfeng <mao@cask.co> 99685f3188cf19c83a4ec264c1aaff167e08af30 m

    [CDAP-4535] Enable setting Auth Server URI with multiple URL's containing protocol and port

    • cdap-common/src/main/java/co/cask/cdap/common/conf/Constants.java (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-common/src/main/resources/cdap-default.xml (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-docs/admin-manual/build.sh (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-docs/tools/cdap-default/cdap-default-deprecated.xml (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-gateway/src/main/java/co/cask/cdap/gateway/router/handlers/SecurityAuthenticationHttpHandler.java (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-gateway/src/test/java/co/cask/cdap/gateway/router/AuthServerAnnounceTest.java (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
    • cdap-security/src/test/java/co/cask/cdap/security/server/ExternalAuthenticationServerTestBase.java (version 99685f3188cf19c83a4ec264c1aaff167e08af30)
  • Deepak Wadhwani

    Deepak Wadhwani ac92e408d686dc3d1b86bb5136b41253b1fa1dc8 m

    Merge pull request #8432 from caskdata/bug/fixtest41
    CDAP-8924: Fix LogHandlerTestRun Unit Test

  • Deepak Wadhwani

    Deepak Wadhwani 2d8ffc5ef32287d004496cdbd0f59a94f7ecda49 m

    CDAP-8924: Fix LogHandlerTestRun Unit Test

    • cdap-gateway/src/test/java/co/cask/cdap/gateway/handlers/log/MockLogReader.java (version 2d8ffc5ef32287d004496cdbd0f59a94f7ecda49)
  • Terence Yim

    Terence Yim 02e55083732d6fc96b6e510ed7387dc9693ba927 m

    Move code around to make it more obvious

    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkProgramRuntimeProvider.java (version 02e55083732d6fc96b6e510ed7387dc9693ba927)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoader.java (version 02e55083732d6fc96b6e510ed7387dc9693ba927)
  • Terence Yim

    Terence Yim e2ec9f54d038c811c2a384f99152e4f38bf283fc m

    Move SparkRunnerClassLoader into classloader package

    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkProgramRuntimeProvider.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoader.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRuntimeUtils.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoader.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoaderTest.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
    • cdap-spark-core/src/test/java/co/cask/cdap/app/runtime/spark/classloader/SparkRunnerClassLoaderTest.java (version e2ec9f54d038c811c2a384f99152e4f38bf283fc)
  • Terence Yim

    Terence Yim 3ac3b0b00b2824c01ec5cc42b60a20831e758408 m

    (CDAP-8980) Separate out the Spark class rewrite logic from the SparkRunnerClassLoader

    • cdap-common/src/main/java/co/cask/cdap/common/lang/ClassRewriter.java (version 3ac3b0b00b2824c01ec5cc42b60a20831e758408)
    • cdap-common/src/main/java/co/cask/cdap/internal/asm/Classes.java (version 3ac3b0b00b2824c01ec5cc42b60a20831e758408)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoader.java (version 3ac3b0b00b2824c01ec5cc42b60a20831e758408)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkClassRewriter.java (version 3ac3b0b00b2824c01ec5cc42b60a20831e758408)
  • Terence Yim

    Terence Yim 208aff7dc8425d609e3820816973b226704b8144 m

    Use the same defining class loader for all classes in Spark container for system classes.

    • cdap-common/src/main/java/co/cask/cdap/common/app/MainClassLoader.java (version 208aff7dc8425d609e3820816973b226704b8144)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/SparkRunnerClassLoader.java (version 208aff7dc8425d609e3820816973b226704b8144)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/classloader/SparkContainerClassLoader.java (version 208aff7dc8425d609e3820816973b226704b8144)
    • cdap-spark-core/src/main/java/co/cask/cdap/app/runtime/spark/distributed/SparkContainerLauncher.java (version 208aff7dc8425d609e3820816973b226704b8144)
  • Terence Yim

    Terence Yim 15ba6c0c6fc978e01cff9c83867598df721178ec m

    Allow ClassRewriter.rewrite to return null
    - This allow determining if a class is actually needed to be rewritten
      after inspecting the byte code
    - The InterceptableClassLoader.needIntercept method is still needed
      as a quick check before opening the byte code to inspect

    • cdap-common/src/main/java/co/cask/cdap/common/app/MainClassLoader.java (version 15ba6c0c6fc978e01cff9c83867598df721178ec)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/ClassRewriter.java (version 15ba6c0c6fc978e01cff9c83867598df721178ec)
    • cdap-common/src/main/java/co/cask/cdap/common/lang/InterceptableClassLoader.java (version 15ba6c0c6fc978e01cff9c83867598df721178ec)
  • Vinisha Shah

    Vinisha Shah 4e6bb9cded8369dd09d4520be97ef34b58a6f50c m

    Reduce log level

    • cdap-common/src/main/java/co/cask/cdap/common/logging/common/UncaughtExceptionHandler.java (version 4e6bb9cded8369dd09d4520be97ef34b58a6f50c)