ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-22598) Pig service check failed after PU with LzoCodec CNF
Date Wed, 06 Dec 2017 15:01:08 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-22598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280274#comment-16280274
] 

Hudson commented on AMBARI-22598:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8496 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8496/])
AMBARI-22598 - Pig service check failed after PU with LzoCodec CNF (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=508eba0c62aa42cea5bcc660a4661ff373a5af91])
* (edit) ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/pig.py
* (edit) ambari-server/src/main/resources/common-services/MAHOUT/1.0.0.2.3/package/scripts/mahout.py
* (edit) ambari-server/src/main/resources/common-services/SPARK2/2.0.0/package/scripts/setup_spark.py
* (edit) ambari-server/src/main/resources/common-services/PIG/0.16.1.3.0/package/scripts/pig.py
* (edit) ambari-server/src/main/resources/common-services/SPARK/1.2.1/package/scripts/setup_spark.py
* (edit) ambari-server/src/main/resources/common-services/SPARK/2.2.0/package/scripts/setup_spark.py


> Pig service check failed after PU with LzoCodec CNF
> ---------------------------------------------------
>
>                 Key: AMBARI-22598
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22598
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.6.1
>            Reporter: Vivek Sharma
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.6.1
>
>         Attachments: AMBARI-22598.patch
>
>
> *STR*
> # Deployed cluster with Ambari version: 2.5.1.0-159 and HDP version: 2.6.1.0-129 (HDFS
has lzo enabled)
> # Upgrade Ambari to Target Version: 2.6.1.0-84
> # Perform full stack upgrade to 2.6.4.0-55
> # Perform 4th digit PU of some services in batches (see attached for list)
> # Run Pig service check
> *Result*
> {code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/PIG/0.12.0.2.0/package/scripts/service_check.py",
line 141, in <module>
>     PigServiceCheck().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 367, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/common-services/PIG/0.12.0.2.0/package/scripts/service_check.py",
line 85, in service_check
>     logoutput = True
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 166,
in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
160, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
124, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 262, in action_run
>     tries=self.resource.tries, try_sleep=self.resource.try_sleep)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72,
in inner
>     result = function(command, **kwargs)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102,
in checked_call
>     tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150,
in _call_wrapper
>     result = _call(command, **kwargs_copy)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303,
in _call
>     raise ExecutionFailed(err_msg, code, out, err)
> resource_management.core.exceptions.ExecutionFailed: Execution of 'pig /var/lib/ambari-agent/tmp/pigSmoke.sh'
returned 6. 17/12/04 12:07:26 INFO pig.ExecTypeProvider: Trying ExecType : LOCAL
> 17/12/04 12:07:26 INFO pig.ExecTypeProvider: Trying ExecType : MAPREDUCE
> 17/12/04 12:07:26 INFO pig.ExecTypeProvider: Trying ExecType : TEZ_LOCAL
> 17/12/04 12:07:26 INFO pig.ExecTypeProvider: Trying ExecType : TEZ
> 17/12/04 12:07:26 INFO pig.ExecTypeProvider: Picked TEZ as the ExecType
> 2017-12-04 12:07:27,044 [main] INFO  org.apache.pig.Main - Apache Pig version 0.16.0.2.6.4.1-12
(rexported) compiled Nov 29 2017, 15:19:29
> 2017-12-04 12:07:27,044 [main] INFO  org.apache.pig.Main - Logging error messages to:
/home/ambari-qa/pig_1512389247042.log
> 2017-12-04 12:07:27,738 [main] INFO  org.apache.pig.impl.util.Utils - Default bootup
file /home/ambari-qa/.pigbootup not found
> 2017-12-04 12:07:27,860 [main] INFO  org.apache.pig.backend.hadoop.executionengine.HExecutionEngine
- Connecting to hadoop file system at: hdfs://ctr-e135-1512069032975-4843-01-000006.hwx.site:8020
> 2017-12-04 12:07:28,422 [main] INFO  org.apache.pig.PigServer - Pig Script ID for the
session: PIG-pigSmoke.sh-04da505f-7f53-4f4d-bab5-be5732c283fb
> 2017-12-04 12:07:28,743 [main] INFO  org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl
- Timeline service address: http://ctr-e135-1512069032975-4843-01-000003.hwx.site:8188/ws/v1/timeline/
> 2017-12-04 12:07:28,994 [main] INFO  org.apache.pig.backend.hadoop.PigATSClient - Created
ATS Hook
> 2017-12-04 12:07:29,800 [main] INFO  org.apache.hadoop.hdfs.DFSClient - Created HDFS_DELEGATION_TOKEN
token 1084 for ambari-qa on 172.27.73.145:8020
> 2017-12-04 12:07:29,827 [main] INFO  org.apache.hadoop.mapreduce.security.TokenCache
- Got dt for hdfs://ctr-e135-1512069032975-4843-01-000006.hwx.site:8020; Kind: HDFS_DELEGATION_TOKEN,
Service: 172.27.73.145:8020, Ident: (HDFS_DELEGATION_TOKEN token 1084 for ambari-qa)
> 2017-12-04 12:07:29,844 [main] INFO  org.apache.pig.tools.pigstats.ScriptState - Pig
features used in the script: UNKNOWN
> 2017-12-04 12:07:29,895 [main] INFO  org.apache.pig.data.SchemaTupleBackend - Key [pig.schematuple]
was not set... will not generate code.
> 2017-12-04 12:07:29,933 [main] INFO  org.apache.pig.newplan.logical.optimizer.LogicalPlanOptimizer
- {RULES_ENABLED=[AddForEach, ColumnMapKeyPrune, ConstantCalculator, GroupByConstParallelSetter,
LimitOptimizer, LoadTypeCastInserter, MergeFilter, MergeForEach, PartitionFilterOptimizer,
PredicatePushdownOptimizer, PushDownForEachFlatten, PushUpFilter, SplitFilter, StreamTypeCastInserter]}
> 2017-12-04 12:07:29,993 [main] INFO  org.apache.pig.impl.util.SpillableMemoryManager
- Selected heap (PS Old Gen) of size 699400192 to monitor. collectionUsageThreshold = 489580128,
usageThreshold = 489580128
> 2017-12-04 12:07:30,093 [main] INFO  org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher
- Tez staging directory is /tmp/ambari-qa/staging and resources directory is /tmp/temp-394866789
> 2017-12-04 12:07:30,144 [main] INFO  org.apache.pig.backend.hadoop.executionengine.tez.plan.TezCompiler
- File concatenation threshold: 100 optimistic? false
> 2017-12-04 12:07:30,274 [main] INFO  org.apache.pig.builtin.PigStorage - Using PigTextInputFormat
> 2017-12-04 12:07:30,278 [main] INFO  org.apache.hadoop.hdfs.DFSClient - Created HDFS_DELEGATION_TOKEN
token 1085 for ambari-qa on 172.27.73.145:8020
> 2017-12-04 12:07:30,279 [main] INFO  org.apache.hadoop.mapreduce.security.TokenCache
- Got dt for hdfs://ctr-e135-1512069032975-4843-01-000006.hwx.site:8020; Kind: HDFS_DELEGATION_TOKEN,
Service: 172.27.73.145:8020, Ident: (HDFS_DELEGATION_TOKEN token 1085 for ambari-qa)
> 2017-12-04 12:07:30,281 [main] INFO  org.apache.hadoop.mapreduce.lib.input.FileInputFormat
- Total input paths to process : 1
> 2017-12-04 12:07:30,281 [main] INFO  org.apache.pig.backend.hadoop.executionengine.util.MapRedUtil
- Total input paths to process : 1
> org.apache.pig.backend.executionengine.ExecException: ERROR 2118: Compression codec com.hadoop.compression.lzo.LzoCodec
not found.
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:279)
> 	at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateNewSplits(MRInputHelpers.java:413)
> 	at org.apache.tez.mapreduce.hadoop.MRInputHelpers.generateInputSplitsToMem(MRInputHelpers.java:292)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.LoaderProcessor.processLoads(LoaderProcessor.java:169)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.plan.optimizer.LoaderProcessor.visitTezOp(LoaderProcessor.java:182)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:255)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.plan.TezOperator.visit(TezOperator.java:56)
> 	at org.apache.pig.impl.plan.DependencyOrderWalker.walk(DependencyOrderWalker.java:87)
> 	at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:46)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.processLoadAndParallelism(TezLauncher.java:500)
> 	at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher.launchPig(TezLauncher.java:186)
> 	at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.launchPig(HExecutionEngine.java:308)
> 	at org.apache.pig.PigServer.launchPlan(PigServer.java:1474)
> 	at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1459)
> 	at org.apache.pig.PigServer.execute(PigServer.java:1448)
> 	at org.apache.pig.PigServer.executeBatch(PigServer.java:488)
> 	at org.apache.pig.PigServer.executeBatch(PigServer.java:471)
> 	at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:170)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:233)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:204)
> 	at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:81)
> 	at org.apache.pig.Main.run(Main.java:630)
> 	at org.apache.pig.Main.main(Main.java:175)
> 	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:233)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> Caused by: java.lang.IllegalArgumentException: Compression codec com.hadoop.compression.lzo.LzoCodec
not found.
> 	at org.apache.hadoop.io.compress.CompressionCodecFactory.getCodecClasses(CompressionCodecFactory.java:139)
> 	at org.apache.hadoop.io.compress.CompressionCodecFactory.<init>(CompressionCodecFactory.java:180)
> 	at org.apache.hadoop.mapreduce.lib.input.TextInputFormat.isSplitable(TextInputFormat.java:59)
> 	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:399)
> 	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigInputFormat.getSplits(PigInputFormat.java:265)
> 	... 28 more
> Caused by: java.lang.ClassNotFoundException: Class com.hadoop.compression.lzo.LzoCodec
not found
> 	at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2147)
> 	at org.apache.hadoop.io.compress.CompressionCodecFactory.getCodecClasses(CompressionCodecFactory.java:132)
> 	... 32 more
> 2017-12-04 12:07:30,322 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2118: Compression
codec com.hadoop.compression.lzo.LzoCodec not found.
> Details at logfile: /home/ambari-qa/pig_1512389247042.log
> 2017-12-04 12:07:30,338 [main] INFO  org.apache.pig.Main - Pig script completed in 3
seconds and 457 milliseconds (3457 ms)
> 2017-12-04 12:07:30,338 [main] INFO  org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher
- Shutting down thread pool
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message