[ https://issues.apache.org/jira/browse/HIVE-10544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522712#comment-14522712 ]
Hari Sankar Sivarama Subramaniyan commented on HIVE-10544: ---------------------------------------------------------- [~thejas] Noticed sometime back that bin/beeline.cmd in the repo follows Windows convention for text file (i.e., M^ at the end of each line). So in order to apply the patch, you will need to do : $ tr -d '\r' < bin/beeline.cmd > temp; rm bin/beeline.cmd; mv temp bin/beeline.cmd $ patch -p1 < HIVE-10544.2.patch Thanks Hari > Beeline/Hive JDBC Driver fails in HTTP mode on Windows with > java.lang.NoSuchFieldError: INSTANCE > ------------------------------------------------------------------------------------------------ > > Key: HIVE-10544 > URL: https://issues.apache.org/jira/browse/HIVE-10544 > Project: Hive > Issue Type: Bug > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-10544.1.patch, HIVE-10544.2.patch > > > NO PRECOMMIT TESTS > This appears to be caused by a dependency version mispatch with httpcore on > Beeline's classpath. > We need to change beeline.cmd as well I guess to include the equivalent of > export HADOOP_USER_CLASSPATH_FIRST=true. -- This message was sent by Atlassian JIRA (v6.3.4#6332)