You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@knox.apache.org by prateek arora <pr...@gmail.com> on 2015/05/22 03:01:57 UTC

some times my curl command hang

Hi

when i try to create a table in hbase using knox gateway :

curl -v -ik -u guest:guest-password -H "Accept: text/xml"   -H
"Content-Type: text/xml" -d '<?xml version="1.0"
encoding="UTF-8"?><TableSchema name="table1"><ColumnSchema
name="family1"/><ColumnSchema name="family2"/></TableSchema>'  -X PUT '
https://localhost:8443/gateway/sandbox/hbase/table1/schema'

some time its work perfectly and some time its hang .

output of curl ( when hang occur)

* Hostname was NOT found in DNS cache
*   Trying 192.168.44.98...
* Connected to master (192.168.44.98) port 8443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES256-SHA384
* Server certificate:
*        subject: C=US; ST=Test; L=Test; O=Hadoop; OU=Test; CN=localhost
*        start date: 2015-05-21 23:50:29 GMT
*        expire date: 2016-05-20 23:50:29 GMT
*        issuer: C=US; ST=Test; L=Test; O=Hadoop; OU=Test; CN=localhost
*        SSL certificate verify result: self signed certificate (18),
continuing anyway.
* Server auth using Basic with user 'admin'
> PUT /gateway/sandbox/hbase/table10/schema HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4tcGFzc3dvcmQ=
> User-Agent: curl/7.35.0
> Host: master:8443
> Accept: application/json
> Content-Type: application/json
> Content-Length: 52
>
* upload completely sent off: 52 out of 52 bytes


please help me to sole this problem.

Regards
prateek