Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][test-java11] Test Hadoop 2.7 with JDK 11 #26533

Closed
wants to merge 15 commits into from
Closed

[WIP][test-java11] Test Hadoop 2.7 with JDK 11 #26533

wants to merge 15 commits into from

Conversation

wangyum
Copy link
Member

@wangyum wangyum commented Nov 15, 2019

What changes were proposed in this pull request?

This PR test Hadoop 2.7 with JDK 11 on our jenkins.

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113822 has finished for PR 26533 at commit e8e2cbc.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113824 has finished for PR 26533 at commit 2f0e6c8.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Nov 15, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113830 has finished for PR 26533 at commit 2f0e6c8.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113831 has finished for PR 26533 at commit 9811ad6.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

The test cases should be fixed as of 65a189c

@wangyum
Copy link
Member Author

wangyum commented Nov 15, 2019

Thank you @HyukjinKwon

@wangyum
Copy link
Member Author

wangyum commented Nov 15, 2019

All Failed Tests:

org.apache.spark.sql.kafka010.KafkaSinkMicroBatchStreamingSuite.(It is not a test it is a sbt.testing.SuiteSelector)
org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite.(It is not a test it is a sbt.testing.SuiteSelector)

How to reproduce:

export JAVA_HOME=/usr/lib/jdk-11.0.3
export PATH=$JAVA_HOME/bin:$PATH

build/sbt "sql-kafka-0-10/test-only *.KafkaSinkMicroBatchStreamingSuite" -Phadoop-3.2 -Dhadoop.version=2.7.4 -Dcurator.version=2.7.1
build/sbt "sql-kafka-0-10/test-only *.KafkaDelegationTokenSuite" -Phadoop-3.2 -Dhadoop.version=2.7.4 -Dcurator.version=2.7.1

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113847 has finished for PR 26533 at commit 275390f.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Nov 15, 2019

@HyukjinKwon @BryanCutler It seems failed tests related to https://issues.apache.org/jira/browse/ARROW-5412?

…Unsafe or java.nio.DirectByteBuffer.<init>(long, int) not available
@BryanCutler
Copy link
Member

right, I think for JDK >= 9 this needs to be set "-Dio.netty.tryReflectionSetAccessible=true". This was due to some Netty API that Arrow started using. I can look into it and try to figure out what we should do for Spark.

@BryanCutler
Copy link
Member

Oh, I saw you just added it as a property in the pom. Hopefully that should do the trick.

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113859 has finished for PR 26533 at commit a95e8bf.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@BryanCutler
Copy link
Member

retest this please

@wangyum
Copy link
Member Author

wangyum commented Nov 15, 2019

@BryanCutler It seems not working:

export JAVA_HOME=/usr/lib/jdk-11.0.3
export PATH=$JAVA_HOME/bin:$PATH

build/sbt "sql/test-only *.ArrowConvertersSuite" -Phadoop-3.2 -Dio.netty.tryReflectionSetAccessible=true

@SparkQA
Copy link

SparkQA commented Nov 15, 2019

Test build #113865 has finished for PR 26533 at commit a95e8bf.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Nov 16, 2019

@wangyum . Arrow broke all tests including PySpark/R. I'm working in the following PR. After fixing that, I'll ping you here.

Please see the scala stuff there, too.

@wangyum
Copy link
Member Author

wangyum commented Nov 16, 2019

Thank you @dongjoon-hyun

@wangyum
Copy link
Member Author

wangyum commented Nov 16, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Nov 16, 2019

Test build #113926 has finished for PR 26533 at commit a95e8bf.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 16, 2019

Test build #113935 has finished for PR 26533 at commit d0ffbd1.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 16, 2019

Test build #113933 has finished for PR 26533 at commit 67c69db.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Nov 18, 2019

All Failed Tests:

org.apache.spark.sql.kafka010.KafkaSinkMicroBatchStreamingSuite.(It is not a test it is a sbt.testing.SuiteSelector)
org.apache.spark.sql.kafka010.KafkaDelegationTokenSuite.(It is not a test it is a sbt.testing.SuiteSelector)

How to reproduce:

export JAVA_HOME=/usr/lib/jdk-11.0.3
export PATH=$JAVA_HOME/bin:$PATH

build/sbt "sql-kafka-0-10/test-only *.KafkaSinkMicroBatchStreamingSuite" -Phadoop-3.2 -Dhadoop.version=2.7.4 -Dcurator.version=2.7.1
build/sbt "sql-kafka-0-10/test-only *.KafkaDelegationTokenSuite" -Phadoop-3.2 -Dhadoop.version=2.7.4 -Dcurator.version=2.7.1

The failed tests may be related to https://issues.apache.org/jira/browse/HADOOP-12911
cc @plusplusjiajia @AngersZhuuuu

@SparkQA
Copy link

SparkQA commented Nov 19, 2019

Test build #114073 has finished for PR 26533 at commit eb50a4b.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Nov 19, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Nov 19, 2019

Test build #114077 has finished for PR 26533 at commit eb50a4b.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 24, 2019

Test build #114338 has finished for PR 26533 at commit 50a11ec.

  • This patch fails Spark unit tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 24, 2019

Test build #114342 has finished for PR 26533 at commit 728952b.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum wangyum changed the title [WIP][test-hadoop3.2][test-java11] Test Hadoop 2.7 with JDK 11 [WIP][test-java11] Test Hadoop 2.7 with JDK 11 Nov 24, 2019
@wangyum
Copy link
Member Author

wangyum commented Nov 24, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Nov 24, 2019

Test build #114343 has finished for PR 26533 at commit 0a923c4.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 24, 2019

Test build #114349 has finished for PR 26533 at commit 0a923c4.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 28, 2019

Test build #114580 has finished for PR 26533 at commit be292f5.

  • This patch fails Spark unit tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 29, 2019

Test build #114624 has finished for PR 26533 at commit cbd22ed.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Dec 5, 2019

The issue fixed by #26594

@wangyum wangyum closed this Dec 5, 2019
@wangyum
Copy link
Member Author

wangyum commented Aug 17, 2020

Another issue:

[b_carmel@carmeldevour002-715563 spark-3.0.0-bin]$ bin/spark-sql
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/b_carmel/yumwang/spark-3.1.0-SNAPSHOT-bin-benchmark-bloomfilter/jars/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/apache/releases/hadoop-2.7.3.2.6.4-ebay.1/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.spark.unsafe.Platform (file:/home/b_carmel/yumwang/spark-3.1.0-SNAPSHOT-bin-benchmark-bloomfilter/jars/spark-unsafe_2.12-3.1.0-SNAPSHOT.jar) to constructor java.nio.DirectByteBuffer(long,int)
WARNING: Please consider reporting this to the maintainers of org.apache.spark.unsafe.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "DataStreamer for file /tmp/hive-b_carmel/b_carmel/ff396890-3a46-4f2e-a93b-91de0eeefe0b/inuse.info" java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
	at org.apache.hadoop.crypto.CryptoStreamUtils.freeDB(CryptoStreamUtils.java:41)
	at org.apache.hadoop.crypto.CryptoInputStream.freeBuffers(CryptoInputStream.java:679)
	at org.apache.hadoop.crypto.CryptoInputStream.close(CryptoInputStream.java:315)
	at java.base/java.io.FilterInputStream.close(FilterInputStream.java:179)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeStream(DFSOutputStream.java:737)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeInternal(DFSOutputStream.java:685)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:680)
Exception in thread "DataStreamer for file /user/b_carmel/.sparkStaging/application_1595573410068_7264/__spark_libs__7269177261298078316.zip" java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
	at org.apache.hadoop.crypto.CryptoStreamUtils.freeDB(CryptoStreamUtils.java:41)
	at org.apache.hadoop.crypto.CryptoInputStream.freeBuffers(CryptoInputStream.java:679)
	at org.apache.hadoop.crypto.CryptoInputStream.close(CryptoInputStream.java:315)
	at java.base/java.io.FilterInputStream.close(FilterInputStream.java:179)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeStream(DFSOutputStream.java:737)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeInternal(DFSOutputStream.java:685)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:680)
Exception in thread "DataStreamer for file /user/b_carmel/.sparkStaging/application_1595573410068_7264/__spark_conf__.zip" java.lang.NoSuchMethodError: 'sun.misc.Cleaner sun.nio.ch.DirectBuffer.cleaner()'
	at org.apache.hadoop.crypto.CryptoStreamUtils.freeDB(CryptoStreamUtils.java:41)
	at org.apache.hadoop.crypto.CryptoInputStream.freeBuffers(CryptoInputStream.java:679)
	at org.apache.hadoop.crypto.CryptoInputStream.close(CryptoInputStream.java:315)
	at java.base/java.io.FilterInputStream.close(FilterInputStream.java:179)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeStream(DFSOutputStream.java:737)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.closeInternal(DFSOutputStream.java:685)
	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:680)
Spark master: yarn, Application Id: application_1595573410068_7264

More details: https://issues.apache.org/jira/browse/HADOOP-12760

@wangyum wangyum deleted the hadoop-2.7-jdk11 branch August 17, 2020 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants