<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: RegexSerDe in hue/hive-editor does not work in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/40936#M2184</link>
    <description>&lt;P&gt;What if I am not able to add the jar via setting tab [error - &lt;SPAN&gt;Insufficient privileges to execute ADD&lt;/SPAN&gt;] ?&lt;BR /&gt;Also if I want this jar to be available to all the users, how can i do that ?&lt;BR /&gt;Please suggest.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2016 17:16:31 GMT</pubDate>
    <dc:creator>rastogishivam</dc:creator>
    <dc:date>2016-05-17T17:16:31Z</dc:date>
    <item>
      <title>RegexSerDe in hue/hive-editor does not work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/14734#M2180</link>
      <description>&lt;P&gt;While working with CDH5, hive and RegexSerDe there are some issues in hive-editor in hue environment. Initially a table is created:&lt;/P&gt;&lt;PRE&gt;CREATE TABLE access_log (
        `ip`                STRING,
        `time_local`        STRING,
        `method`            STRING,
        `uri`               STRING,
        `protocol`          STRING,
        `status`            STRING,
        `bytes_sent`        STRING,
        `referer`           STRING,
        `useragent`         STRING
        )
    ROW FORMAT SERDE 'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
    WITH SERDEPROPERTIES (
    'input.regex'='^(\\S+) \\S+ \\S+ \\[([^\\[]+)\\] "(\\w+) (\\S+) (\\S+)" (\\d+) (\\d+) "([^"]+)" "([^"]+)".*'
)
STORED AS TEXTFILE
LOCATION '/user/test/apachelogs/access_log-20140622';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;Then data is moved into the table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;LOAD DATA INPATH /user/test/apachelogs/access_log-20140622' into table access_log;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Up to here all is fine. But when executing the follwoing statement, a mapreduce job is started and freezes at 5%:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;select count(*) from access_log ;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The problem is caused by a classpath issue, so the RegexSerDe is not found within the hive editor. I started the hive shell on commandline and added a jar:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;add jar /path/to/hive-contrib.jar;
select count(*) from access_log;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Here the query runs and returns the correct results.&lt;BR /&gt;&lt;BR /&gt;Question: how to run the query in hue/hive-editor? I tried settings and add jar resource, but the query does not run ...&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 14:01:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/14734#M2180</guid>
      <dc:creator>skippi</dc:creator>
      <dc:date>2026-04-21T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: RegexSerDe in hue/hive-editor does not work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/14854#M2181</link>
      <description>Could you add the jar in the "Settings" tab?&lt;BR /&gt;&lt;BR /&gt;[image: Inline image 1]&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jul 2014 23:13:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/14854#M2181</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2014-07-08T23:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: RegexSerDe in hue/hive-editor does not work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/15174#M2182</link>
      <description>&lt;P&gt;Now it is working!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Main problems seems to be the web frontend, which does not give feedback. There was an error in the jar path and it could not be found. The shell on command line is more intuitive &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2014 13:29:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/15174#M2182</guid>
      <dc:creator>skippi</dc:creator>
      <dc:date>2014-07-16T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: RegexSerDe in hue/hive-editor does not work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/15216#M2183</link>
      <description>Glad to hear!&lt;BR /&gt;&lt;BR /&gt;For info I just tried with a wrong path and I fot the error (Hue 3.5+)&lt;BR /&gt;*:*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;*Your query has the following error(s):*&lt;BR /&gt;&lt;BR /&gt;Error while processing statement:&lt;BR /&gt;hdfs://localhost:8020/user/romain/other_vhosts_access.jar does not exist.&lt;BR /&gt;&lt;BR /&gt;Romain&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jul 2014 19:43:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/15216#M2183</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2014-07-16T19:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: RegexSerDe in hue/hive-editor does not work</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/40936#M2184</link>
      <description>&lt;P&gt;What if I am not able to add the jar via setting tab [error - &lt;SPAN&gt;Insufficient privileges to execute ADD&lt;/SPAN&gt;] ?&lt;BR /&gt;Also if I want this jar to be available to all the users, how can i do that ?&lt;BR /&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 17:16:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/RegexSerDe-in-hue-hive-editor-does-not-work/m-p/40936#M2184</guid>
      <dc:creator>rastogishivam</dc:creator>
      <dc:date>2016-05-17T17:16:31Z</dc:date>
    </item>
  </channel>
</rss>

