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

Mark Owens commented on ACCUMULO-4561:
--------------------------------------

A little more info:  The monitor.log returns the following warning when the 
ping command targets a Jetty port:

{noformat}
2017-10-11 13:09:25,039 [http.HttpParser] WARN : Illegal character 0x0 in 
state=START for buffer 
HeapByteBuffer@3249e354[p=1,l=179,c=8192,r=178]={\x00<<<\x00\x00\xAf\x82!\x01\x15getTabletS...d92138d\x00,\x16\x00\x16\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
2017-10-11 13:09:25,039 [http.HttpParser] WARN : bad HTTP parsed: 400 Illegal 
character 0x0 for HttpChannelOverHttp@4676385e{r=0,c=false,a=IDLE,uri=null}
{noformat}


The returned HTTP payload (via wireshark) is:


{noformat}
0000   48 54 54 50 2f 31 2e 31 20 34 30 30 20 49 6c 6c  HTTP/1.1 400 Ill
0010   65 67 61 6c 20 63 68 61 72 61 63 74 65 72 20 30  egal character 0
0020   78 30 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67  x0..Content-Leng
0030   74 68 3a 20 30 0d 0a 43 6f 6e 6e 65 63 74 69 6f  th: 0..Connectio
0040   6e 3a 20 63 6c 6f 73 65 0d 0a 53 65 72 76 65 72  n: close..Server
0050   3a 20 4a 65 74 74 79 28 39 2e 33 2e 32 31 2e 76  : Jetty(9.3.21.v
0060   32 30 31 37 30 39 31 38 29 0d 0a 0d 0a           20170918)....
{noformat}


> Crash when using ping on a non-existing server
> ----------------------------------------------
>
>                 Key: ACCUMULO-4561
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4561
>             Project: Accumulo
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 2.0.0
>            Reporter: Luis Tavarez
>
> While working on ACCUMULO-4558, I tried running 
> {code}ping -ts localhost:9995{code} (localhost:9995 does not have a a tserver 
> on my setup.)
> And it caused the shell to exit (crashed) and show the following message.
> {code}#
> # java.lang.OutOfMemoryError: Java heap space
> # -XX:OnOutOfMemoryError="kill -9 %p"
> #   Executing /bin/sh -c "kill -9 25561"...
> /home/lmtavar/git/uno/bin/uno: line 44: 25561 Killed                  
> "$ACCUMULO_HOME"/bin/accumulo shell -u "$ACCUMULO_USER" -p 
> "$ACCUMULO_PASSWORD" "${@:2}"
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to