Member since
01-05-2016
21
Posts
16
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3081 | 02-20-2016 05:54 AM |
02-20-2016
06:06 AM
1 Kudo
next week I will try to resolve
... View more
02-20-2016
05:54 AM
1 Kudo
I get it ! curl -v -H "Content-Type: text/xml" http://10.148.10.2:9090/device_day_metric_kt/scanner/145589362659469f85bc0 should be curl -v -H "Accept: application/json" http://10.148.10.2:9090/device_day_metric_kt/scanner/145589362659469f85bc0
... View more
02-20-2016
04:51 AM
Set Accept header to text/xml for XML encoding , But result like from "application/octet-stream for binary encoding" setting.
... View more
02-20-2016
04:41 AM
scanner not get nothing, but only one cell value , not a whole row , and not any cf or qualifier, only cell!
... View more
02-19-2016
05:26 PM
hbase-log.txt
... View more
02-19-2016
04:42 PM
yes,get return data
... View more
02-19-2016
02:55 PM
3 Kudos
I do : curl -v -H "Content-Type: text/xml" -d '<Scanner batch="1"/>' http://10.148.10.2:9090/device_day_metric_kt/scanner and get result with scannerid ! Sometime can get result, however most time can not get result ! why ? what's wrong ? ---------------------------------------------------------------------------------------------------------------------- [root@basic.internal.hadoop.10-148-10-80 KHTEST]# curl -v -H "Content-Type: text/xml" -d '<Scanner batch="1"/>' http://10.148.10.2:9090/device_day_metric_kt/scanner
* About to connect() to 10.148.10.2 port 9090 (#0)
* Trying 10.148.10.2... connected
* Connected to 10.148.10.2 (10.148.10.2) port 9090 (#0)
> POST /device_day_metric_kt/scanner HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.148.10.2:9090
> Accept: */*
> Content-Type: text/xml
> Content-Length: 20
>
< HTTP/1.1 201 Created
< Location: http://10.148.10.2:9090/device_day_metric_kt/scanner/145589362659469f85bc0
< Content-Length: 0
<
* Connection #0 to host 10.148.10.2 left intact
* Closing connection #0
[root@basic.internal.hadoop.10-148-10-80 KHTEST]# curl -v -H "Content-Type: text/xml" http://10.148.10.2:9090/device_day_metric_kt/scanner/145589362659469f85bc0
* About to connect() to 10.148.10.2 port 9090 (#0)
* Trying 10.148.10.2... connected
* Connected to 10.148.10.2 (10.148.10.2) port 9090 (#0)
> GET /device_day_metric_kt/scanner/145589362659469f85bc0 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: 10.148.10.2:9090
> Accept: */*
> Content-Type: text/xml
>
< HTTP/1.1 200 OK
< Content-Length: 3
< Cache-Control: no-cache
< X-Row: LTExNzI4MTI0MDI5NjE4MjAxNjAxMDQ=
< X-Column: ZW52OmVudl9jaXR5X2NvZGU=
< X-Timestamp: 1454044118503
< Content-Type: application/octet-stream
<
* Connection #0 to host 10.148.10.2 left intact
* Closing connection #0
... View more
Labels:
- Labels:
-
Apache HBase
02-13-2016
03:53 AM
1 Kudo
yes , path exist and permission is ok ,however disk hardware error now !
... View more
02-13-2016
03:31 AM
2 Kudos
I restart yarn failed ,for nodemanager restart failed when meet with Input/output error. How to handle such error ? fsck device ? remove error path from yarn.nodemanager.local-dirs ? log show below Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py", line 153, in <module>
Nodemanager().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
method(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 524, in restart
self.start(env, upgrade_type=upgrade_type)
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py", line 50, in start
self.configure(env) # FOR SECURITY
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/nodemanager.py", line 56, in configure
yarn(name="nodemanager")
File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py", line 146, in yarn
sudo=True,
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158, in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121, in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, 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 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'chmod -R 755 /letv/hadoop/yarn/local /var/hadoop/yarn/local /data/slot0/hadoop/yarn/local /data/slot1/hadoop/yarn/local /data/slot2/hadoop/yarn/local /data/slot3/hadoop/yarn/local /data/slot4/hadoop/yarn/local /data/slot5/hadoop/yarn/local /data/slot6/hadoop/yarn/local /data/slot7/hadoop/yarn/local /data/slot8/hadoop/yarn/local /data/slot9/hadoop/yarn/local /data/slota/hadoop/yarn/local /data/slotb/hadoop/yarn/local' returned 1. chmod: cannot access `/data/slot7/hadoop/yarn/local': Input/output error
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache YARN
01-11-2016
12:33 PM
1 Kudo
right you are!
... View more