Error Xbm0h Directory Cannot Be Created
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get error xbm0h directory metastore_db cannot be created Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki metastore_db cannot be created spark Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social java.io.filenotfoundexception: derby.log (permission denied) hive Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO
Failed To Create Database 'metastore_db', See The Next Exception For Details
login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] HIVE issues in Ubuntu Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of java.io.filenotfoundexception: derby.log (access is denied) 3 Thread: HIVE issues in Ubuntu Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode November 24th, 2014 #1 Shamik_Biswas View Profile View Forum Posts Private Message Spilled the Beans Join Date Oct 2014 Beans 13 HIVE issues in Ubuntu Hi, I have installed Hive 0.9.0 on Hadoop 1.0.3 in Ubuntu. I have done all the necessary setup and all... ...now I am trying to start Hive and use the folliwng commands : hduser@shamik-HP-Pavilion-g6-Notebook-PC:/usr/local/hive-0.9.0-bin/bin$ ./hive WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files. Logging initialized using configuration in jar:file:/usr/local/hive-0.9.0-bin/lib/hive-common-0.9.0.jar!/hive-log4j.properties Hive history file=/tmp/hduser/hive_job_log_hduser_201411242240_1688351607.txt hive> create database emp; 2014-11-24 17:11:08.051 GMT Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied) 2014-11-24 17:11:08.149 GMT Thread[main,5,main] Cleanup action starting ERROR XBM0H: Directory /usr/local/hive-0.9.0-bin/bin/metastore_db cannot be created. hive> show databases; 2014-11-24 16:55:01.170 GMT Thread[main,5,main] Cleanup action starting ERROR XBM0H: Directory /usr/local/hive-0.9.
here for a quick overview of the site Help Center Detailed answers to any hive metastore database is not initialized. questions you might have Meta Discuss the workings and policies
Chown
of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow https://ubuntuforums.org/showthread.php?t=2254028 is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ./spark-shell doesn't start correctly (spark1.6.1-bin.hadoop2.6 version) up vote 0 down vote favorite I installed this spark version: spark-1.6.1-bin-hadoop2.6.tgz. Now when I start spark with ./spark-shell command Im getting this issues https://stackoverflow.com/questions/36273166/spark-shell-doesnt-start-correctly-spark1-6-1-bin-hadoop2-6-version (it shows a lot of error lines so I just put some that seems important) Cleanup action completed 16/03/27 00:19:35 ERROR Schema: Failed initialising database. Failed to create database 'metastore_db', see the next exception for details. org.datanucleus.exceptions.NucleusDataStoreException: Failed to create database 'metastore_db', see the next exception for details. at org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl.getConnection(ConnectionFactoryImpl.java:516) Caused by: java.sql.SQLException: Directory /usr/local/spark-1.6.1-bin-hadoop2.6/bin/metastore_db cannot be created. org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ... 128 more Caused by: ERROR XBM0H: Directory /usr/local/spark-1.6.1-bin-hadoop2.6/bin/metastore_db cannot be created. Nested Throwables StackTrace: java.sql.SQLException: Failed to create database 'metastore_db', see the next exception for details. org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) ... 128 more Caused by: ERROR XBM0H: Directory /usr/local/spark-1.6.1-bin-hadoop2.6/bin/metastore_db cannot be created. at org.apache.derby.iapi.error.StandardException.newException Caused by: java.sql.SQLException: Directory /usr/local/spark-1.6.1-bin-hadoop2.6/bin/metastore_db cannot be created. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) at ... 128 more
while running Hive Queries usingHiveServer2 with Hive Metastore configured with oracle database.2013-03-14 cannot be created 11:20:05.100 GMT Thread[pool-1-thread-5,5,main]java.io.FileNotFoundException: derby.log (Permission denied)2013-03-14 11:20:05.828 GMT Thread[pool-1-thread-5,5,main] Cleanup actionstartingERROR XBM0H: Directory /var/lib/hive/TempStatsStore cannot be created.at org.apache.derby.iapi.error.StandardException.newException(UnknownSource)atorg.apache.derby.impl.services.monitor.StorageFactoryService$9.run(UnknownSource)at java.security.AccessController.doPrivileged(Native Method)atorg.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(UnknownSource)at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(UnknownSource)atorg.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(UnknownSource)atorg.apache.derby.iapi.services.monitor.Monitor.createPersistentService(UnknownSource)at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)at org.apache.derby.impl.jdbc.EmbedConnection.
Portal Partners Developers Community Community CommunityCategoryBoardKnowledge BaseUsers turn on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing results for Search instead for Do you mean Browse Cloudera Community News News & Announcements Getting Started Hadoop 101 Beta Releases Configuring and Managing Cloudera Manager Cloudera Director CDH Topics (w/o CM) Using the Platform Batch (MR, YARN, Oozie) Data Ingest (Sqoop, Flume... Storage (HDFS, HBase... Hue Hive Impala Data Science Search (SolrCloud) Spark Cloudera Labs Data Management Data Discovery, Optimization Security/Sentry Building on the Platform Kite SDK Suggestions Off Topic and Suggestions Cloudera AMA Cloudera Community : Using the Platform : Spark : Spark displays SQLException when Hive not installe... Register · Sign In · Help Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page « Topic Listing « Previous Topic Next Topic » cragius New Contributor Posts: 4 Registered: 12-17-2015 Spark displays SQLException when Hive not installed Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content 02-26-2016 07:14 AM Wehave CDH 5.5.2 installed using Cloudera Manager. Hive is not installed.When using spark-submit or spark-shell, we get a lot of errors apparently related to Hive, but Spark works fine.Grepping out the exceptions without the long stacktraces, the errors areCaused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:derby:;databaseName=/var/lib/hive/metastore/metastore_db;create=true, username = APP. Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Original Exception: ------java.sql.SQLException: Failed to create database '/var/lib/hive/metastore/metastore_db', see the next exception for details.Caused by: ERROR XJ041: Failed to create database '/var/lib/hive/metastore/metastore_db', see the next exception for details.Caused by: ERROR XBM0H: Directory /var/lib/hive/metastore/metastore_db cannot be created.The last exception is:Caused by: ERROR XBM0H: Directory /var/lib/hive/metastore/metastore_db cannot be created.at org.apache.derby.iapi.error.S