Indeed, interesting.
Here is an extract from the exception Reddi as posted:
NoSuchColumnFamilyException: Column family 'cf' does not exist ... in
table 'twitter_mobile_data', {NAME => 'cf', .....
What hbck gives you? what do you have in the HDFS folder for this region?
JM
2014-07-27 22:36 GMT-04:00 reddibabu <[email protected]>:
> Hi Ted,
> Thanks for your response.
>
> I have 'cf' columnfamily in my table, twitter_mobile_data.
> e.geoLocation is the Spark RDD, I have called getLatitude() on it.
>
> trowkey.add(cf,Bytes.toBytes("latitude"),Bytes.toBytes(e.geoLocation.getLatitude()))
>
> trowkey.add(cf,Bytes.toBytes("longitude"),Bytes.toBytes(e.geoLocation.getLongitude()))
>
> I have tried one more way like,
> var latitude=Bytes.toBytes(e.geoLocation.getLatitude())
> var longitude=Bytes.toBytes(e.getLocation.getLongitude())
>
> trowkey.add(cf,Bytes.toBytes("latitude"),Bytes.toBytes(latitude))
> trowkey.add(cf,Bytes.toBytes("longitude"),Bytes.toBytes(longitude))
>
> both ways are not helpful.
>
> Here, I am not able to put Twitter4j.Place object attributes into Hbase
> table like,
> GeoLocation.getLatitude()
> GeoLocation.getLongitude()
> Place.getCountry()
> Place.getCountryCode()
> Place.getFullName()
> Place.getId()
> Place.getName()
> Place.getPlaceType()
> Place.getStreetAddress()
> Place.getGeometryType()
>
>
>
> Thanks in advance,
> Reddi Babu
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/Not-able-to-put-Twitter4j-Place-object-attributes-from-scala-application-tp4061914p4061994.html
> Sent from the HBase User mailing list archive at Nabble.com.
>