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

Mohammad Kamrul Islam commented on HCATALOG-629:
------------------------------------------------

FRom hcat-user mailing list:
I started webhcat server using sbin/webhcat_server.sh start.

Problem:
---------
Later when I sent the **first** curl request, I got HTTP error 500 with 
ClassNotFound exception "org/codehaus/jackson/map/deser/std/StdDeserializer".

However, immediately after this, if I  sent the same request for the *second* 
time, it started working fine.

More explanations of the command-used and the associated error messages both in 
client and server sides are pasted at the end.

My Workaround:
-----------
After different tries, I was able to solve the problem as follows:

1. In $HCAT_HOME/share/webhcat/svr/lib, I found the 
jackson-mapper-asl-1.8.3.jar there. I replaced it with a newer version 
jackson-mapper-asl-1.9.2.jar.
2. Restart webhcat server.
3. Submit (the first time failure ) curl command. And it worked without any 
problem from the beginning.

Btw, I got the resolution hints from the internet proposed for different 
product. 

Question:
--------
Should we use jackson.version 1.9.2 instead of  1.8.3?
If yes, I could create a JIRA and send a patch.

Or am I missing something obvious?
                
> First request always fail for webhcat
> -------------------------------------
>
>                 Key: HCATALOG-629
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-629
>             Project: HCatalog
>          Issue Type: Bug
>          Components: webhcat-svr
>            Reporter: Mohammad Kamrul Islam
>            Assignee: Mohammad Kamrul Islam
>             Fix For: 0.5
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to