Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3573

Tez smoke test fails on the ARM platform

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • tests, tez
    • None

    Description

      https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests/247/COMPONENTS=hdfs.yarn.tez@tez,OS=debian-10-arm64-deploy/console
      https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests/247/COMPONENTS=hdfs.yarn.tez@tez,OS=debian-9-arm64-deploy/console
      https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests/247/COMPONENTS=hdfs.yarn.tez@tez,OS=ubuntu-18.04-arm64-deploy/console
      https://ci.bigtop.apache.org/view/Test/job/Bigtop-trunk-smoke-tests/247/COMPONENTS=hdfs.yarn.tez@tez,OS=ubuntu-20.04-arm64-deploy/console

      TestTezSmoke > TezWordcountTest FAILED
          java.lang.AssertionError: Tez ordered wordcount test failed. [] [2021-07-13 10:42:55,296 INFO shim.HadoopShimsLoader: Trying to locate HadoopShimProvider for hadoopVersion=3.2.2, majorVersion=3, minorVersion=2, 2021-07-13 10:42:55,302 INFO shim.HadoopShimsLoader: Picked HadoopShim org.apache.tez.hadoop.shim.DefaultHadoopShim, providerName=null, overrideProviderViaConfig=null, hadoopVersion=3.2.2, majorVersion=3, minorVersion=2, 2021-07-13 10:42:55,809 INFO counters.Limits: Counter limits initialized with parameters:  GROUP_NAME_MAX=256, MAX_GROUPS=500, COUNTER_NAME_MAX=64, MAX_COUNTERS=1200, 2021-07-13 10:42:55,809 INFO counters.Limits: Counter limits initialized with parameters:  GROUP_NAME_MAX=256, MAX_GROUPS=500, COUNTER_NAME_MAX=64, MAX_COUNTERS=1200, 2021-07-13 10:42:55,809 INFO client.TezClient: Tez Client Version: [ component=tez-api, version=0.10.0, revision=77967d9c868b6bf74c154480d2cf38636f7012b7, SCM-URL=scm:git:https://gitbox.apache.org/repos/asf/tez.git, buildTime=2021-07-06T10:17:50Z, buildUser=jenkins, buildJavaVersion=1.8.0_292 ], 2021-07-13 10:42:55,949 INFO client.RMProxy: Connecting to ResourceManager at 828e97ba42a1.bigtop.apache.org/172.17.0.5:8032, org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=aarch64, 	at org.xerial.snappy.SnappyLoader.findNativeLibrary(SnappyLoader.java:460), 	at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:318), 	at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:229), 	at org.xerial.snappy.Snappy.<clinit>(Snappy.java:48), 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:79), 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:66), 	at org.apache.tez.common.TezUtils.createByteStringFromConf(TezUtils.java:81), 	at org.apache.tez.mapreduce.hadoop.MRInputHelpers.createMRInputPayload(MRInputHelpers.java:753), 	at org.apache.tez.mapreduce.input.MRInput$MRInputHelpersInternal.createMRInputPayload(MRInput.java:714), 	at org.apache.tez.mapreduce.input.MRInput$MRInputConfigBuilder.createGeneratorDataSource(MRInput.java:336), 	at org.apache.tez.mapreduce.input.MRInput$MRInputConfigBuilder.build(MRInput.java:266), 	at org.apache.tez.examples.OrderedWordCount.createDAG(OrderedWordCount.java:130), 	at org.apache.tez.examples.OrderedWordCount.runJob(OrderedWordCount.java:200), 	at org.apache.tez.examples.TezExampleBase._execute(TezExampleBase.java:245), 	at org.apache.tez.examples.TezExampleBase.run(TezExampleBase.java:126), 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76), 	at org.apache.tez.examples.OrderedWordCount.main(OrderedWordCount.java:208), 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), 	at java.lang.reflect.Method.invoke(Method.java:498), 	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71), 	at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144), 	at org.apache.tez.examples.ExampleDriver.main(ExampleDriver.java:63), 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), 	at java.lang.reflect.Method.invoke(Method.java:498), 	at org.apache.hadoop.util.RunJar.run(RunJar.java:323), 	at org.apache.hadoop.util.RunJar.main(RunJar.java:236)]
      
      TestTezSmoke > TezDAGsTest FAILED
          java.lang.AssertionError: Tez DAGs test failed. [] [2021-07-13 10:43:01,937 INFO shim.HadoopShimsLoader: Trying to locate HadoopShimProvider for hadoopVersion=3.2.2, majorVersion=3, minorVersion=2, 2021-07-13 10:43:01,942 INFO shim.HadoopShimsLoader: Picked HadoopShim org.apache.tez.hadoop.shim.DefaultHadoopShim, providerName=null, overrideProviderViaConfig=null, hadoopVersion=3.2.2, majorVersion=3, minorVersion=2, 2021-07-13 10:43:02,129 INFO client.TezClientUtils: Permissions on staging directory hdfs://828e97ba42a1.bigtop.apache.org:8020/tmp/root/tez/staging/1626172981942 are incorrect: rwxr-xr-x. Fixing permissions to correct value rwx------, 2021-07-13 10:43:02,144 INFO examples.TestOrderedWordCount: Creating Tez Session, 2021-07-13 10:43:02,273 INFO counters.Limits: Counter limits initialized with parameters:  GROUP_NAME_MAX=256, MAX_GROUPS=500, COUNTER_NAME_MAX=64, MAX_COUNTERS=1200, 2021-07-13 10:43:02,273 INFO counters.Limits: Counter limits initialized with parameters:  GROUP_NAME_MAX=256, MAX_GROUPS=500, COUNTER_NAME_MAX=64, MAX_COUNTERS=1200, 2021-07-13 10:43:02,273 INFO client.TezClient: Tez Client Version: [ component=tez-api, version=0.10.0, revision=77967d9c868b6bf74c154480d2cf38636f7012b7, SCM-URL=scm:git:https://gitbox.apache.org/repos/asf/tez.git, buildTime=2021-07-06T10:17:50Z, buildUser=jenkins, buildJavaVersion=1.8.0_292 ], 2021-07-13 10:43:02,346 INFO client.RMProxy: Connecting to ResourceManager at 828e97ba42a1.bigtop.apache.org/172.17.0.5:8032, 2021-07-13 10:43:02,683 INFO client.TezClient: Session mode. Starting session., 2021-07-13 10:43:02,844 INFO Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS, 2021-07-13 10:43:02,844 INFO client.TezClientUtils: Using tez.lib.uris value from configuration: hdfs://828e97ba42a1.bigtop.apache.org:8020/apps/tez/,hdfs://828e97ba42a1.bigtop.apache.org:8020/apps/tez/lib/, 2021-07-13 10:43:02,845 INFO client.TezClientUtils: Using tez.lib.uris.classpath value from configuration: null, 2021-07-13 10:43:03,421 INFO client.TezClient: Tez system stage directory hdfs://828e97ba42a1.bigtop.apache.org:8020/tmp/root/tez/staging/1626172981942/.tez/application_1626172756904_0001 doesn't exist and is created, 2021-07-13 10:43:03,460 INFO conf.Configuration: resource-types.xml not found, 2021-07-13 10:43:03,461 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'., 2021-07-13 10:43:03,507 INFO Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS, 2021-07-13 10:43:04,797 INFO impl.YarnClientImpl: Submitted application application_1626172756904_0001, 2021-07-13 10:43:04,803 INFO client.TezClient: The url to track the Tez Session: http://828e97ba42a1.bigtop.apache.org:20888/proxy/application_1626172756904_0001/, 2021-07-13 10:43:04,828 INFO examples.TestOrderedWordCount: Running OrderedWordCount DAG, dagIndex=1, inputPath=hdfs://828e97ba42a1.bigtop.apache.org:8020/user/root/input1, outputPath=hdfs://828e97ba42a1.bigtop.apache.org:8020/user/root/output1, 2021-07-13 10:43:04,852 INFO Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS, 2021-07-13 10:43:04,958 INFO examples.TestOrderedWordCount: Shutting down session, 2021-07-13 10:43:04,958 INFO client.TezClient: Shutting down Tez Session, sessionName=OrderedWordCountSession, applicationId=application_1626172756904_0001, 2021-07-13 10:43:04,963 INFO client.TezClient: Could not connect to AM, killing session via YARN, sessionName=OrderedWordCountSession, applicationId=application_1626172756904_0001, 2021-07-13 10:43:05,183 INFO impl.YarnClientImpl: Killed application application_1626172756904_0001, org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Linux and os.arch=aarch64, 	at org.xerial.snappy.SnappyLoader.findNativeLibrary(SnappyLoader.java:460), 	at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:318), 	at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:229), 	at org.xerial.snappy.Snappy.<clinit>(Snappy.java:48), 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:79), 	at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:66), 	at org.apache.tez.common.TezUtils.createByteStringFromConf(TezUtils.java:81), 	at org.apache.tez.mapreduce.hadoop.MRInputHelpers.createMRInputPayload(MRInputHelpers.java:753), 	at org.apache.tez.mapreduce.input.MRInput$MRInputHelpersInternal.createMRInputPayload(MRInput.java:714), 	at org.apache.tez.mapreduce.input.MRInput$MRInputConfigBuilder.createGeneratorDataSource(MRInput.java:336), 	at org.apache.tez.mapreduce.input.MRInput$MRInputConfigBuilder.build(MRInput.java:266), 	at org.apache.tez.mapreduce.examples.TestOrderedWordCount.createDAG(TestOrderedWordCount.java:234), 	at org.apache.tez.mapreduce.examples.TestOrderedWordCount.run(TestOrderedWordCount.java:513), 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76), 	at org.apache.tez.mapreduce.examples.TestOrderedWordCount.main(TestOrderedWordCount.java:624), 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), 	at java.lang.reflect.Method.invoke(Method.java:498), 	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71), 	at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144), 	at org.apache.tez.mapreduce.examples.ExampleDriver.main(ExampleDriver.java:86), 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), 	at java.lang.reflect.Method.invoke(Method.java:498), 	at org.apache.hadoop.util.RunJar.run(RunJar.java:323), 	at org.apache.hadoop.util.RunJar.main(RunJar.java:236)]
      

      It seems to fail to load native libraries. iwasakims Cloud you take a look?

      Attachments

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m