You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/10/10 11:17:07 UTC

Review Request 26543: Sqoop service check fails on HDP2.2

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26543/
-----------------------------------------------------------

Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.


Bugs: AMBARI-7720
    https://issues.apache.org/jira/browse/AMBARI-7720


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/sqoop.py c33e891 
  ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_sqoop.py 09e2083 

Diff: https://reviews.apache.org/r/26543/diff/


Testing
-------

----------------------------------------------------------------------
Total run:641
Total errors:0
Total failures:0
OK

+

manual deployment HDP2.1 and HDP2.2


Thanks,

Dmytro Sen


Re: Review Request 26543: Sqoop service check fails on HDP2.2

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26543/#review56111
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Oct. 10, 2014, 9:17 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26543/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2014, 9:17 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-7720
>     https://issues.apache.org/jira/browse/AMBARI-7720
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/sqoop.py c33e891 
>   ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_sqoop.py 09e2083 
> 
> Diff: https://reviews.apache.org/r/26543/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Total run:641
> Total errors:0
> Total failures:0
> OK
> 
> +
> 
> manual deployment HDP2.1 and HDP2.2
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 26543: Sqoop service check fails on HDP2.2

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26543/#review56130
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Oct. 10, 2014, 9:17 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26543/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2014, 9:17 a.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-7720
>     https://issues.apache.org/jira/browse/AMBARI-7720
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/sqoop.py c33e891 
>   ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_sqoop.py 09e2083 
> 
> Diff: https://reviews.apache.org/r/26543/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Total run:641
> Total errors:0
> Total failures:0
> OK
> 
> +
> 
> manual deployment HDP2.1 and HDP2.2
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>