Read only database issue in hive

2013-07-11 Thread Hamza Asad
I'm facing the following issue while i executes a command in hive terminal *FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Cannot get a connection, pool error Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disabl

HIVESERVER2 JDBC Client throws SQL exceptions on select statements

2013-07-11 Thread Varunkumar Manohar
I am trying to execute a hive query from JDBC CLient.I am using Hiveserver2 currently. A very basic query throws SQL exception only from the JDBC CLient and not from the CLI * The queries shown below execute successfully on the CLI* >From the JDBC client *select * from tableA* works fine whereas

Re: getRegion method is missing from RegionCoprocessorEnvironment class in version 0.94

2013-07-11 Thread Ted Yu
Which release of 0.94 do you use ? For tip of 0.94, I see: public interface RegionCoprocessorEnvironment extends CoprocessorEnvironment { /** @return the region associated with this coprocessor */ public HRegion getRegion(); On Thu, Jul 11, 2013 at 6:40 PM, ch huang wrote: > how can i do ,

getRegion method is missing from RegionCoprocessorEnvironment class in version 0.94

2013-07-11 Thread ch huang
how can i do ,to change the example code based on 0.92 api ,so it can running in 0.94?

Re: Hive Storage

2013-07-11 Thread Nitin Pawar
I think you may need to read more about how HDFS stores data. here is the basic definition http://hadoop.apache.org/docs/stable/hdfs_design.html#NameNode+and+DataNodes by definition hdfs never stores and files (your data) on the namenode. It stores the files etc on hdfs and the metadata related t

Hive Storage

2013-07-11 Thread Manickam P
Hi experts, In hive While we load files into tables will it be stored in master node only? or will it use data nodes also for HDFS storage? Please clarify. Thanks, Manickam P