Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by NeilConway: http://wiki.apache.org/hadoop/HiveDerbyServerMode ------------------------------------------------------------------------------ Hive in embedded mode has a limitation of 1 active user at a time. You may want to run Derby as a Network Server, this way multiple users can access it simultaneously from different systems. === Download Derby === - It is suggested you download the version of derby that ships with hive. If you have already ran Hive in embedded mode the first line of derby.log contains the version. + It is suggested you download the version of Derby that ships with Hive. If you have already ran Hive in embedded mode the first line of derby.log contains the version. My structure looks like this: {{{ @@ -41, +41 @@ }}} === Starting Derby === - Likely you are going to want to run derby when hadoop starts up. An interesting place for this other then as an lsb-init-script might be alongside hadoop scripts like start-dfs. By default derby will create databases in the directory it was started from. + Likely you are going to want to run Derby when Hadoop starts up. An interesting place for this other then as an lsb-init-script might be alongside Hadoop scripts like start-dfs. By default Derby will create databases in the directory it was started from. {{{ cd /opt/hadoop/db-derby-10.4.1.3-bin/data nohup /opt/hadoop/db-derby-10.4.1.3-bin/startNetworkServer -h 0.0.0.0 &
