<?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: Hive table pointing to Avro schema on local file system in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191143#M80661</link>
    <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/79158/vmurakami.html" nodeid="79158"&gt;@Vinicius Higa Murakami&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You seem very knowledgeable and I was wondering if you knew when Hive would reference the schema that I specified. For example, if I version-out that schema and replace it with a new schema in the same location with the same name, when will my External Hive table pick up on that schema?&lt;/P&gt;&lt;P&gt;My main question is the behavior of Hive and to understand when that schema is referenced by the Hive table.&lt;/P&gt;&lt;P&gt;As always, I appreciate your help.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jul 2018 00:44:53 GMT</pubDate>
    <dc:creator>shane_becker348</dc:creator>
    <dc:date>2018-07-18T00:44:53Z</dc:date>
    <item>
      <title>Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191134#M80652</link>
      <description>&lt;P&gt;I am trying to create an external Hive table that points to an avro schema file (.avsc) that lives on the local file system. I know this is possible on Cloudera, but not so sure about Hortonworks. Typically, most 'avro.schema.url' examples point to 'hdfs:///', but this is not what I am hoping to accomplish. I am attempting to use 'file:///'.&lt;/P&gt;&lt;P&gt;The functionality I am attempting to mimic can be found &lt;A href="https://www.cloudera.com/documentation/enterprise/5-14-x/topics/cdh_ig_avro_usage.html#topic_26_8"&gt;here&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 03:55:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191134#M80652</guid>
      <dc:creator>shane_becker348</dc:creator>
      <dc:date>2018-07-13T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191135#M80653</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/87264/shanebecker3489.html" nodeid="87264"&gt;@Shane B&lt;/A&gt;! &lt;BR /&gt;It should work with avro schemas located in your local fs. Both use the same serde to deal with avro typos.&lt;BR /&gt;Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;[hive@node3 ~]$ cat  user.avsc 
{"namespace": "example.avro",
 "type": "record",
 "name": "User",
 "fields": [
     {"name": "name", "type": "string"},
     {"name": "favorite_number",  "type": ["int", "null"]},
     {"name": "favorite_color", "type": ["string", "null"]}
 ]
}
0: jdbc:hive2://node3:10000/default&amp;gt;  CREATE TABLE test
0: jdbc:hive2://node3:10000/default&amp;gt;   ROW FORMAT SERDE
0: jdbc:hive2://node3:10000/default&amp;gt;   'org.apache.hadoop.hive.serde2.avro.AvroSerDe'
0: jdbc:hive2://node3:10000/default&amp;gt;   STORED as AVRO
0: jdbc:hive2://node3:10000/default&amp;gt;   TBLPROPERTIES (
0: jdbc:hive2://node3:10000/default&amp;gt;     'avro.schema.url'='file:///home/hive/user.avsc');
No rows affected (1.492 seconds)
0: jdbc:hive2://node3:10000/default&amp;gt; show create table test;
+------------------------------------------------------------------+--+
|                          createtab_stmt                          |
+------------------------------------------------------------------+--+
| CREATE TABLE `test`(                                             |
|   `name` string COMMENT '',                                      |
|   `favorite_number` int COMMENT '',                              |
|   `favorite_color` string COMMENT '')                            |
| ROW FORMAT SERDE                                                 |
|   'org.apache.hadoop.hive.serde2.avro.AvroSerDe'                 |
| STORED AS INPUTFORMAT                                            |
|   'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat'   |
| OUTPUTFORMAT                                                     |
|   'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat'  |
| LOCATION                                                         |
|   'hdfs://Admin-TrainingNS/apps/hive/warehouse/test'             |
| TBLPROPERTIES (                                                  |
|   'COLUMN_STATS_ACCURATE'='{\"BASIC_STATS\":\"true\"}',          |
|   'avro.schema.url'='file:///home/hive/user.avsc',               |
|   'numFiles'='0',                                                |
|   'numRows'='0',                                                 |
|   'rawDataSize'='0',                                             |
|   'totalSize'='0',                                               |
|   'transient_lastDdlTime'='1531430559')                          |
+------------------------------------------------------------------+--+
20 rows selected (0.775 seconds)
&lt;/PRE&gt; Hope this helps!</description>
      <pubDate>Fri, 13 Jul 2018 04:30:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191135#M80653</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-13T04:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191136#M80654</link>
      <description>&lt;P&gt;Thanks &lt;A href="https://community.hortonworks.com/users/79158/vmurakami.html"&gt;@Vinicius Higa Murakami&lt;/A&gt; for the prompt answer!&lt;/P&gt;&lt;P&gt;I did try to use TBLPROPERTIES ( 'avro.schema.url'='file:///&amp;lt;filepath&amp;gt;') and got the following error:&lt;/P&gt;&lt;P&gt;Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException Encountered AvroSerdeException determining schema. Returning signal schema to indicate problem: Unable to read schema from given path: file:///&amp;lt;filepath&amp;gt;.avsc) (state=08S01,code=1)&lt;/P&gt;&lt;P&gt;I also tried WITH SERDEPROPERTIES ( 'avro.schema.url'='file:///&amp;lt;filepath&amp;gt;.avsc') and got the same error as above.&lt;/P&gt;&lt;P&gt;I am under the assumption it may be a configuration issue. Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 04:38:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191136#M80654</guid>
      <dc:creator>shane_becker348</dc:creator>
      <dc:date>2018-07-13T04:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191137#M80655</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/87264/shanebecker3489.html" nodeid="87264"&gt;@Shane B&lt;/A&gt;&lt;BR /&gt;Hmm, guess something inside your .avsc file can't be serialized by avro serde. Could you share it with us?&lt;BR /&gt;Btw, are you able to create the table using the hdfs path? &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 04:45:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191137#M80655</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-13T04:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191138#M80656</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/79158/vmurakami.html" nodeid="79158"&gt;@Vinicius Higa Murakami&lt;/A&gt; &lt;/P&gt;&lt;P&gt;And yes, it does work if I throw it in HDFS. Just not using 'file:///'&lt;/P&gt;&lt;PRE&gt;{
  "namespace": "com.linkedin.haivvreo",
  "name": "test_serializer",
  "type": "record",
  "fields": [
    { "name":"string1", "type":"string" },
    { "name":"int1", "type":"int" },
    { "name":"tinyint1", "type":"int" },
    { "name":"smallint1", "type":"int" },
    { "name":"bigint1", "type":"long" },
    { "name":"boolean1", "type":"boolean" },
    { "name":"float1", "type":"float" },
    { "name":"double1", "type":"double" },
    { "name":"list1", "type":{"type":"array", "items":"string"} },
    { "name":"map1", "type":{"type":"map", "values":"int"} },
    { "name":"struct1", "type":{"type":"record", "name":"struct1_name", "fields": [
          { "name":"sInt", "type":"int" }, { "name":"sBoolean", "type":"boolean" }, { "name":"sString", "type":"string" } ] } },
    { "name":"union1", "type":["float", "boolean", "string"] },
    { "name":"enum1", "type":{"type":"enum", "name":"enum1_values", "symbols":["BLUE","RED", "GREEN"]} },
    { "name":"nullableint", "type":["int", "null"] },
    { "name":"bytes1", "type":"bytes" },
    { "name":"fixed1", "type":{"type":"fixed", "name":"threebytes", "size":3} }
  ] }&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;This was an example taken from the &lt;A href="https://cwiki.apache.org/confluence/display/Hive/AvroSerDe#AvroSerDe-Hive0.14andlaterversions" target="_blank"&gt;Hive docs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 04:58:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191138#M80656</guid>
      <dc:creator>shane_becker348</dc:creator>
      <dc:date>2018-07-13T04:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191139#M80657</link>
      <description>&lt;P&gt;It is very informative and helpful.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 11:07:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191139#M80657</guid>
      <dc:creator>stevenrichardso</dc:creator>
      <dc:date>2018-07-13T11:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191140#M80658</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/87264/shanebecker3489.html" nodeid="87264"&gt;@Shane B&lt;/A&gt;!&lt;BR /&gt;I made the same test here using your example, and it's working &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt; &lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;[hive@node3 ~]$ cat -A test-avro.avsc
{$
  "namespace": "com.linkedin.haivvreo",$
  "name": "test_serializer",$
  "type": "record",$
  "fields": [$
    { "name":"string1", "type":"string" },$
    { "name":"int1", "type":"int" },$
    { "name":"tinyint1", "type":"int" },$
    { "name":"smallint1", "type":"int" },$
    { "name":"bigint1", "type":"long" },$
    { "name":"boolean1", "type":"boolean" },$
    { "name":"float1", "type":"float" },$
    { "name":"double1", "type":"double" },$
    { "name":"list1", "type":{"type":"array", "items":"string"} },$
    { "name":"map1", "type":{"type":"map", "values":"int"} },$
    { "name":"struct1", "type":{"type":"record", "name":"struct1_name", "fields": [$
          { "name":"sInt", "type":"int" }, { "name":"sBoolean", "type":"boolean" }, { "name":"sString", "type":"string" } ] } },$
    { "name":"union1", "type":["float", "boolean", "string"] },$
    { "name":"enum1", "type":{"type":"enum", "name":"enum1_values", "symbols":["BLUE","RED", "GREEN"]} },$
    { "name":"nullableint", "type":["int", "null"] },$
    { "name":"bytes1", "type":"bytes" },$
    { "name":"fixed1", "type":{"type":"fixed", "name":"threebytes", "size":3} }$
  ] }$
[hive@node3 ~]$ beeline -u 'jdbc:hive2://node3:10000/default' -n hive
Connecting to jdbc:hive2://node3:10000/default
Connected to: Apache Hive (version 1.2.1000.2.6.5.0-292)
Driver: Hive JDBC (version 1.2.1000.2.6.5.0-292)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.6.5.0-292 by Apache Hive
0: jdbc:hive2://node3:10000/default&amp;gt;  CREATE TABLE test_hcc
0: jdbc:hive2://node3:10000/default&amp;gt;   ROW FORMAT SERDE
0: jdbc:hive2://node3:10000/default&amp;gt;   'org.apache.hadoop.hive.serde2.avro.AvroSerDe'
0: jdbc:hive2://node3:10000/default&amp;gt;   STORED as AVRO
0: jdbc:hive2://node3:10000/default&amp;gt;   TBLPROPERTIES (
0: jdbc:hive2://node3:10000/default&amp;gt;     'avro.schema.url'='file:///home/hive/test-avro.avsc');
No rows affected (0.513 seconds)
0: jdbc:hive2://node3:10000/default&amp;gt; desc formatted test_hcc;
+-------------------------------+--------------------------------------------------------------+-----------------------------------+--+
|           col_name            |                          data_type                           |              comment              |
+-------------------------------+--------------------------------------------------------------+-----------------------------------+--+
| # col_name                    | data_type                                                    | comment                           |
|                               | NULL                                                         | NULL                              |
| string1                       | string                                                       |                                   |
| int1                          | int                                                          |                                   |
| tinyint1                      | int                                                          |                                   |
| smallint1                     | int                                                          |                                   |
| bigint1                       | bigint                                                       |                                   |
| boolean1                      | boolean                                                      |                                   |
| float1                        | float                                                        |                                   |
| double1                       | double                                                       |                                   |
| list1                         | array&amp;lt;string&amp;gt;                                                |                                   |
| map1                          | map&amp;lt;string,int&amp;gt;                                              |                                   |
| struct1                       | struct&amp;lt;sint:int,sboolean:boolean,sstring:string&amp;gt;             |                                   |
| union1                        | uniontype&amp;lt;float,boolean,string&amp;gt;                              |                                   |
| enum1                         | string                                                       |                                   |
| nullableint                   | int                                                          |                                   |
| bytes1                        | binary                                                       |                                   |
| fixed1                        | binary                                                       |                                   |
|                               | NULL                                                         | NULL                              |
| # Detailed Table Information  | NULL                                                         | NULL                              |
| Database:                     | default                                                      | NULL                              |
| Owner:                        | hive                                                         | NULL                              |
| CreateTime:                   | Fri Jul 13 14:28:18 UTC 2018                                 | NULL                              |
| LastAccessTime:               | UNKNOWN                                                      | NULL                              |
| Protect Mode:                 | None                                                         | NULL                              |
| Retention:                    | 0                                                            | NULL                              |
| Location:                     | hdfs://Admin-TrainingNS/apps/hive/warehouse/test_hcc         | NULL                              |
| Table Type:                   | MANAGED_TABLE                                                | NULL                              |
| Table Parameters:             | NULL                                                         | NULL                              |
|                               | COLUMN_STATS_ACCURATE                                        | {\"BASIC_STATS\":\"true\"}        |
|                               | avro.schema.url                                              | file:///home/hive/test-avro.avsc  |
|                               | numFiles                                                     | 0                                 |
|                               | numRows                                                      | 0                                 |
|                               | rawDataSize                                                  | 0                                 |
|                               | totalSize                                                    | 0                                 |
|                               | transient_lastDdlTime                                        | 1531492098                        |
|                               | NULL                                                         | NULL                              |
| # Storage Information         | NULL                                                         | NULL                              |
| SerDe Library:                | org.apache.hadoop.hive.serde2.avro.AvroSerDe                 | NULL                              |
| InputFormat:                  | org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat   | NULL                              |
| OutputFormat:                 | org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat  | NULL                              |
| Compressed:                   | No                                                           | NULL                              |
| Num Buckets:                  | -1                                                           | NULL                              |
| Bucket Columns:               | []                                                           | NULL                              |
| Sort Columns:                 | []                                                           | NULL                              |
| Storage Desc Params:          | NULL                                                         | NULL                              |
|                               | serialization.format                                         | 1                                 |
+-------------------------------+--------------------------------------------------------------+-----------------------------------+--+
47 rows selected (0.48 seconds)
&lt;/PRE&gt;&lt;P&gt;Sorry I'm getting curious, gonna make a lot of questions &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Which Hive version are you running?&lt;BR /&gt;Are you using hiveCLI or beeline to execute these commands? Could you try to execute the following commands?&lt;BR /&gt;E.g. Beeline&lt;/P&gt;&lt;PRE&gt;0: jdbc:hive2://node3:10000/default&amp;gt; !sh ls test-avro.avsc&lt;/PRE&gt;&lt;P&gt;E.g. HiveCLI&lt;/P&gt;&lt;PRE&gt;hive&amp;gt; !ls /home/hive/test-avro.avsc&lt;/PRE&gt;&lt;P&gt;I made a test here to reproduce your issue (by adding a +d to my filename), got the same error&lt;/P&gt;&lt;PRE&gt;hive&amp;gt;  CREATE TABLE test_hcc2
    &amp;gt;   ROW FORMAT SERDE
    &amp;gt;   'org.apache.hadoop.hive.serde2.avro.AvroSerDe'
    &amp;gt;   STORED as AVRO
    &amp;gt;   TBLPROPERTIES (
    &amp;gt;     'avro.schema.url'='file:///home/hive/test-avrod.avsc');
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException Encountered AvroSerdeException determining schema. Returning signal schema to indicate problem: Unable to read schema from given path: file:///home/hive/test-avrod.avsc)
&lt;/PRE&gt;&lt;P&gt;Also, I took a look at the Hive Github and it seems that you're hitting this line:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/hive/blob/cacb1c09574c89ac07fcffc0b8c3fad18e283aec/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerdeUtils.java#L139" target="_blank"&gt;https://github.com/apache/hive/blob/cacb1c09574c89ac07fcffc0b8c3fad18e283aec/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerdeUtils.java#L139&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BTW, I'm attaching my hive props so you can compare with yours &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/80500-hive.txt"&gt;hive.txt&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 22:15:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191140#M80658</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-13T22:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191141#M80659</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/79158/vmurakami.html" nodeid="79158"&gt;@Vinicius Higa Murakami&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for being so willing to help. I appreciate it! &lt;/P&gt;&lt;P&gt;I ended up doing the same thing you did and tracing the error (which I assumed was the IO versus URISyntax) on the Hive GitHub repo and tracked that to the Apache Hadoop docs. I got to &lt;A href="https://hadoop.apache.org/docs/r2.7.1/api/org/apache/hadoop/fs/FileSystem.html#get%28java.net.URI,%20org.apache.hadoop.conf.Configuration%29"&gt;this point&lt;/A&gt; in my trace and realized that my Hive server was running on a different server [than my edge node]. 
Once I dropped the file on that server, it worked like a charm.
Thanks again for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 05:06:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191141#M80659</guid>
      <dc:creator>shane_becker348</dc:creator>
      <dc:date>2018-07-16T05:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191142#M80660</link>
      <description>&lt;P&gt;That's excellent news &lt;A rel="user" href="https://community.cloudera.com/users/87264/shanebecker3489.html" nodeid="87264"&gt;@Shane B&lt;/A&gt;!  &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 09:59:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191142#M80660</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-16T09:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191143#M80661</link>
      <description>&lt;P&gt;Hey &lt;A rel="user" href="https://community.cloudera.com/users/79158/vmurakami.html" nodeid="79158"&gt;@Vinicius Higa Murakami&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You seem very knowledgeable and I was wondering if you knew when Hive would reference the schema that I specified. For example, if I version-out that schema and replace it with a new schema in the same location with the same name, when will my External Hive table pick up on that schema?&lt;/P&gt;&lt;P&gt;My main question is the behavior of Hive and to understand when that schema is referenced by the Hive table.&lt;/P&gt;&lt;P&gt;As always, I appreciate your help.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 00:44:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191143#M80661</guid>
      <dc:creator>shane_becker348</dc:creator>
      <dc:date>2018-07-18T00:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hive table pointing to Avro schema on local file system</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191144#M80662</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/87264/shanebecker3489.html" nodeid="87264"&gt;@Shane B&lt;/A&gt;!&lt;BR /&gt;Thanks for the words, but you know, I'm just a humble guy trying to help here, but I appreciate it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;BR /&gt;I'm not a hive specialist, but, looking at the apache hive, you may find something on these links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/hive/blob/cacb1c09574c89ac07fcffc0b8c3fad18e283aec/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerDe.java" target="_blank"&gt;https://github.com/apache/hive/blob/cacb1c09574c89ac07fcffc0b8c3fad18e283aec/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerDe.java&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/apache/hive/blob/ae008b79b5d52ed6a38875b73025a505725828eb/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerializer.java" target="_blank"&gt;https://github.com/apache/hive/blob/ae008b79b5d52ed6a38875b73025a505725828eb/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroSerializer.java&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/apache/hive/blob/ae008b79b5d52ed6a38875b73025a505725828eb/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroDeserializer.java" target="_blank"&gt;https://github.com/apache/hive/blob/ae008b79b5d52ed6a38875b73025a505725828eb/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroDeserializer.java&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/apache/hive/blob/ff67cdda1c538dc65087878eeba3e165cf3230f4/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroObjectInspectorGenerator.java" target="_blank"&gt;https://github.com/apache/hive/blob/ff67cdda1c538dc65087878eeba3e165cf3230f4/serde/src/java/org/apache/hadoop/hive/serde2/avro/AvroObjectInspectorGenerator.java&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/apache/hive/blob/c2940a07cf0891e922672782b73ec22551a7eedd/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java" target="_blank"&gt;https://github.com/apache/hive/blob/c2940a07cf0891e922672782b73ec22551a7eedd/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:02:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-table-pointing-to-Avro-schema-on-local-file-system/m-p/191144#M80662</guid>
      <dc:creator>vmurakami</dc:creator>
      <dc:date>2018-07-18T12:02:02Z</dc:date>
    </item>
  </channel>
</rss>

