<?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: While executing the pig script in LAB3 in &amp;quot;Sandbox tutorial/Hello World/Getting Started with HDP (2.5.0)&amp;quot; I've encountered error as shown below. Any help is appreciated. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172682#M42086</link>
    <description>&lt;P&gt;Resolved after following the below:&lt;/P&gt;&lt;P&gt;"You can try changing the data type of totmiles variable to double. Drop the table riskfactor from HIve and create it again with:&lt;/P&gt;&lt;P&gt;drop table riskfactor;&lt;/P&gt;&lt;P&gt;CREATE TABLE riskfactor (driverid string,events bigint,totmiles double,riskfactor float) STORED AS ORC;" Thanks to suggestion from  &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;. &lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2016 11:56:57 GMT</pubDate>
    <dc:creator>cliu20000728</dc:creator>
    <dc:date>2016-09-28T11:56:57Z</dc:date>
    <item>
      <title>While executing the pig script in LAB3 in "Sandbox tutorial/Hello World/Getting Started with HDP (2.5.0)" I've encountered error as shown below. Any help is appreciated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172681#M42085</link>
      <description>&lt;P&gt;When exuting the pig script in this tutorial I've encountered error as shown above. Any help is appreciated.&lt;/P&gt;&lt;P&gt;[main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 0:     Output Location Validation Failed for: 'riskfactor More info to follow:   Pig 'double' type in column 2(0-based) cannot map to HCat 'BIGINT'type.  Target filed must be of HCat type {DOUBLE}   Details at logfile: /hadoop/yarn/local/usercache/admin/appcache/application_1475025935138_0008/container_1475025935138_000&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:28:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172681#M42085</guid>
      <dc:creator>cliu20000728</dc:creator>
      <dc:date>2016-09-28T11:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: While executing the pig script in LAB3 in "Sandbox tutorial/Hello World/Getting Started with HDP (2.5.0)" I've encountered error as shown below. Any help is appreciated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172682#M42086</link>
      <description>&lt;P&gt;Resolved after following the below:&lt;/P&gt;&lt;P&gt;"You can try changing the data type of totmiles variable to double. Drop the table riskfactor from HIve and create it again with:&lt;/P&gt;&lt;P&gt;drop table riskfactor;&lt;/P&gt;&lt;P&gt;CREATE TABLE riskfactor (driverid string,events bigint,totmiles double,riskfactor float) STORED AS ORC;" Thanks to suggestion from  &lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/10331/mrizvi.html" nodeid="10331"&gt;@mrizvi&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2016 11:56:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172682#M42086</guid>
      <dc:creator>cliu20000728</dc:creator>
      <dc:date>2016-09-28T11:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: While executing the pig script in LAB3 in "Sandbox tutorial/Hello World/Getting Started with HDP (2.5.0)" I've encountered error as shown below. Any help is appreciated.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172683#M42087</link>
      <description>&lt;P&gt;FYI: I've created a pull request on the docs for this. &lt;A href="https://github.com/hortonworks/tutorials/pull/176" target="_blank"&gt;https://github.com/hortonworks/tutorials/pull/176&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 01:19:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/While-executing-the-pig-script-in-LAB3-in-quot-Sandbox/m-p/172683#M42087</guid>
      <dc:creator>wbekker</dc:creator>
      <dc:date>2016-09-29T01:19:55Z</dc:date>
    </item>
  </channel>
</rss>

