title: Loading Hbase table with Pig. Float gives FIELD_DISCARDED_TYPE_CONVERSION_FAILED
body: <p>I've got a HBase table that is loaded via the HBase Java api like so:</p>
  
  <pre><code>put.add(Bytes.toBytes(HBaseConnection.FAMILY_NAME), Bytes.toBytes("value"), Bytes.toBytes(value));
  </code></pre>
  
  <p>(Where the variable <code>value</code> is a normal java float.)</p>
  
  <p>I proceed to load this with Pig as follows:</p>
  
  <pre><code>raw = LOAD 'hbase://tableName' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('family:value', '-loadKey true -limit 5') AS (id:chararray, value:float);
  </code></pre>
  
  <p>However when I dump this with:</p>
  
  <pre><code>dump raw;
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>[main] WARN  org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Encountered Warning FIELD_DISCARDED_TYPE_CONVERSION_FAILED 5 time(s).
  </code></pre>
  
  <p>for each float value. The ID's are printed fine.</p>
  
  <p>Im running:</p>
  
  <ul>
  <li>Apache Hadoop 0.20.2.05 </li>
  <li>Pig 0.9.2 </li>
  <li>Hbase 0.92.0</li>
  </ul>
  
  <p><strong>My question: Why cant pig handle theses float values? What am I doing wrong?</strong></p>