You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Kishor Ramakrishnan (JIRA)" <ji...@apache.org> on 2018/02/08 19:31:00 UTC

[jira] [Created] (AMBARI-22942) Hive Server Interactive server start failing with UnsupportedCharsetException

Kishor Ramakrishnan created AMBARI-22942:
--------------------------------------------

             Summary: Hive Server Interactive server start failing with UnsupportedCharsetException
                 Key: AMBARI-22942
                 URL: https://issues.apache.org/jira/browse/AMBARI-22942
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.0
            Reporter: Kishor Ramakrishnan
             Fix For: 2.7.0


Hive Server Interactive server start failing with UnsupportedCharsetException
{code:java}
2018-02-08 01:18:52,428 - The 'hive-server2-hive2' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.0.0.0-801). This is the version that will be reported.
2018-02-08 01:20:02,912 - The 'hive-server2-hive2' component did not advertise a version. This may indicate a problem with the component packaging. However, the stack-select tool was able to report a single version installed (3.0.0.0-801). This is the version that will be reported.
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/3.0.0.3.0/package/scripts/hive_server_interactive.py", line 603, in <module>
    HiveServerInteractive().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 376, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/3.0.0.3.0/package/scripts/hive_server_interactive.py", line 97, in start
    status = self._llap_start(env)
  File "/var/lib/ambari-agent/cache/common-services/HIVE/3.0.0.3.0/package/scripts/hive_server_interactive.py", line 275, in _llap_start
    Execute(run_file_path, user=params.hive_user, 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 '/var/lib/ambari-agent/tmp/llap-yarn-service_2018-02-08_01-19-08/run.sh' returned 56



18/02/08 01:19:47 ERROR client.ApiServiceClient: Fail to stop application: 
java.nio.charset.UnsupportedCharsetException: null
	at java.nio.charset.Charset.forName(Charset.java:531)
	at com.sun.jersey.core.util.ReaderWriter.getCharset(ReaderWriter.java:143)
	at com.sun.jersey.core.util.ReaderWriter.readFromAsString(ReaderWriter.java:157)
	at com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.readFromAsString(AbstractMessageReaderWriterProvider.java:114)
	at com.sun.jersey.core.impl.provider.entity.StringProvider.readFrom(StringProvider.java:73)
	at com.sun.jersey.core.impl.provider.entity.StringProvider.readFrom(StringProvider.java:58)
	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:634)
	at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)
	at org.apache.hadoop.yarn.service.client.ApiServiceClient.processResponse(ApiServiceClient.java:195)
	at org.apache.hadoop.yarn.service.client.ApiServiceClient.actionStop(ApiServiceClient.java:312)
	at org.apache.hadoop.yarn.client.cli.ApplicationCLI.run(ApplicationCLI.java:470)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
	at org.apache.hadoop.yarn.client.cli.ApplicationCLI.main(ApplicationCLI.java:111)
WARNING: YARN_LOG_DIR has been replaced by HADOOP_LOG_DIR. Using value of YARN_LOG_DIR.
WARNING: YARN_LOGFILE has been replaced by HADOOP_LOGFILE. Using value of YARN_LOGFILE.
WARNING: YARN_PID_DIR has been replaced by HADOOP_PID_DIR. Using value of YARN_PID_DIR.
WARNING: YARN_OPTS has been replaced by HADOOP_OPTS. Using value of YARN_OPTS.
18/02/08 01:19:49 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)