You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/10/10 16:05:34 UTC

[jira] [Commented] (AMBARI-7720) Sqoop service check fails on HDP2.2

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

Hudson commented on AMBARI-7720:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0 #49 (See [https://builds.apache.org/job/Ambari-branch-1.7.0/49/])
AMBARI-7720 Sqoop service check fails on HDP2.2 (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=caf42aaa292414c3c2fb8ff1ad83ca5b709a49c1)
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/sqoop.py
* ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_sqoop.py


> Sqoop service check fails on HDP2.2
> -----------------------------------
>
>                 Key: AMBARI-7720
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7720
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>    Affects Versions: 1.7.0
>         Environment: HDP2.2 CentOS6
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Blocker
>             Fix For: 1.7.0
>
>
> {noformat}
> 2014-10-09 17:41:22,913 - Error while executing command 'service_check':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
>     method(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/SQOOP/package/scripts/service_check.py", line 34, in service_check
>     logoutput = True
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 237, in action_run
>     raise ex
> Fail: Execution of 'sqoop version' returned 1. Warning: /usr/hdp/2.2.0.0-874/hbase does not exist! HBase imports will fail.
> Please set $HBASE_HOME to the root of your HBase installation.
> Warning: /usr/hdp/2.2.0.0-874//sqoop/../hcatalog does not exist! HCatalog jobs will fail.
> Please set $HCAT_HOME to the root of your HCatalog installation.
> Warning: /usr/hdp/2.2.0.0-874/accumulo does not exist! Accumulo imports will fail.
> Please set $ACCUMULO_HOME to the root of your Accumulo installation.
> [Fatal Error] :-1:-1: Premature end of file.
> Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException; Premature end of file.
> 	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2491)
> 	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2338)
> 	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2255)
> 	at org.apache.hadoop.conf.Configuration.get(Configuration.java:862)
> 	at org.apache.sqoop.tool.SqoopTool.loadPluginsFromConfDir(SqoopTool.java:168)
> 	at org.apache.sqoop.tool.SqoopTool.loadPlugins(SqoopTool.java:138)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:208)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
> 	at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
> Caused by: org.xml.sax.SAXParseException; Premature end of file.
> 	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
> 	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2326)
> 	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2314)
> 	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2385)
> 	... 8 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)