[jira] [Updated] (AMBARI-22598) Pig service check failed after PU with LzoCodec CNF

2017-12-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-22598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-22598:
-
Status: Patch Available  (was: Open)

> 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 
> 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-06.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-03.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-06.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  

[jira] [Updated] (AMBARI-22598) Pig service check failed after PU with LzoCodec CNF

2017-12-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-22598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-22598:
-
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> 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 
> 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-06.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-03.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-06.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 

[jira] [Updated] (AMBARI-22598) Pig service check failed after PU with LzoCodec CNF

2017-12-06 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-22598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-22598:
-
Attachment: AMBARI-22598.patch

> 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 
> 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-06.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-03.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-06.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  

[jira] [Updated] (AMBARI-22598) Pig service check failed after PU with LzoCodec CNF

2017-12-05 Thread Jonathan Hurley (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-22598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-22598:
-
Reporter: Vivek Sharma  (was: Jonathan Hurley)

> 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
>
>
> *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 
> 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-06.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-03.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-06.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 - 
>