Apache HTTP Server Documentation Version 2.4
Tir 21 1394 AP About The PDF Documentation. Licensed to the Apache Software Foundation ... Apache httpd Tutorial: Introduction to Server Side Includes .
Apache HTTP Server Documentation Version 2.0
Mehr 14 1384 AP About The PDF Documentation ... This version of the Apache HTTP Server Documentation is converted from XML source files to LATEX using XSLT.
Apache Web Server Complete Guide
document. The Web server - Apache - Complete Guide was one of the many topics covered in a series of books that I started writing on Linux
Apache HTTP Server Documentation Version 2.5
Khordad 12 1395 AP About The PDF Documentation. Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NO-.
Apache Kafka Guide
Mehr 8 1400 AP The information in this document is subject to change without notice. Cloudera shall not be liable for any damages resulting from technical ...
Apache Kafka Guide
Mordad 11 1400 AP The information in this document is subject to change without notice. Cloudera shall not be liable for any damages resulting from technical ...
Apache Spark Guide
Mehr 8 1400 AP Cloudera
Apache Hive Guide
Cloudera the Cloudera logo
Apache HBase ™ Reference Guide
7 items DisabledRegionSplitPolicy blocks manual region splitting. Default org.apache.hadoop.hbase.regionserver.SteppingSplitPolicy hbase.regionserver.
Amazon Managed Workflows for Apache Airflow - User Guide
8 days ago Accessing the VPC endpoint for your Apache Airflow Web server ... Upload Apache Airflow's tutorial DAG for the latest Amazon MWAA supported.
LimitNOFILE=24000
hive.server2.async.exec.threads 8192 hive.server2.async.exec.wait.queue.size 8192 hive.server2.thrift.max.worker.threads 8192 datanucleus.connectionPool.maxPoolSize sudo yum install mysql-server sudo zypper install mysql sudo zypper install libmysqlclient_r17 sudo apt-get install mysql-server mysql sudo service mysqld start sudo service mysql start root $ sudo /usr/bin/mysql_secure_installationEnter current password for root (enter for none):
OK, successfully used password, moving on...
Set root password? [Y/n] y
New password:
Re-enter new password:
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] N
Remove test database and access to it [Y/n] Y
Reload privilege tables now? [Y/n] Y
All done!
$ sudo /sbin/chkconfig mysqld onsudo /sbin/chkconfig --list mysqldmysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off
sudo chkconfig --add mysql sudo chkconfig mysql on metastorehost 'metastorehost'CREATE USER'localhost' jdbc:mysql://localhost/metastore hive-schema-n.n.n.mysql.sql hive-schema-n.n.n.mysql.sql $ mysql -u root -pEnter password:
mysql> CREATE DATABASE metastore; mysql> USE metastore; mysql> SOURCE /usr/lib/hive/scripts/metastore/upgrade/mysql/hive-schema-n.n.n.mysql.sql; hive.metastore.schema.verification /usr/lib/hive/conf/hive-site.xml mysql> CREATE USER 'hive'@'metastorehost' IDENTIFIED BY 'mypassword'; mysql> REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'hive'@'metastorehost'; mysql> GRANT ALL PRIVILEGES ON metastore.* TO 'hive'@'metastorehost'; mysql> FLUSH PRIVILEGES; mysql> quit; hive-site.xml /usr/lib/hive/conf/hive-site.xml hive-site.xml hive.metastore.uris myhosthivemypassword hive.metastore.local hive.metastore.urisYou are now connected to database 'metastore'.
postgres=# \i SET SET hiveuser sudo -u postgres psql bash# sudo -u postgres psql metastore=# \c metastore metastore=# \pset tuples_only on metastore=# \o /tmp/grant-privs metastore=# SELECT 'GRANT SELECT,INSERT,UPDATE,DELETE ON "' || schemaname || '". "' ||tablename ||'" TO hiveuser ;' metastore-# FROM pg_tables metastore-# WHERE tableowner = CURRENT_USER and schemaname = 'public'; metastore=# \o metastore=# \pset tuples_only off metastore=# \i /tmp/grant-privs psql -h myhost -U hiveuser -d metastore metastore=# hive-site.xml /usr/lib/hive/conf/hive-site.xml hive-site.xml hive.metastore.uris myhosthivemypassword hive.metastore.local hive.metastore.urisSQL> grant connect to hiveuser;
SQL> grant all privileges to hiveuser;
hiveuser $ sqlplus hiveuser SQL> @/usr/lib/hive/scripts/metastore/upgrade/oracle/hive-schema-n.n.n.oracle.sql hiveuser $ sqlplus "sys as sysdba"SQL> revoke all privileges from hiveuser;
SQL> BEGIN
2 FOR R IN (SELECT owner, table_name FROM all_tables WHERE owner='HIVEUSER') LOOP
3 EXECUTE IMMEDIATE 'grant SELECT,INSERT,UPDATE,DELETE on
'||R.owner||'.'||R.table_name||' to hiveuser';4 END LOOP;
5 END;
6 7 / hive-site.xml /usr/lib/hive/conf/hive-site.xml hive-site.xml hive.metastore.uris myhosthiveusermypasswordClientPorthive.zookeeper.client.port
/etc/hive/conf/hive-site.xml hive.zookeeper.client.portClientPort hive.zookeeper.client.portThe port at which the clients will connect.
hive.metastore.execute.setugitrue sudo service hive-server2 start sudo service hive-server2 stop beelineSHOW TABLES $ /usr/lib/hive/bin/beeline beeline> !connect jdbc:hive2://localhost:10000 username password org.apache.hive.jdbc.HiveDriver
0: jdbc:hive2://localhost:10000> SHOW TABLES;
show tables; | tab_name |No rows selected (0.238 seconds)
0: jdbc:hive2://localhost:10000>
hive.server2.transport.mode=http beeline localhost10000 $ beeline beeline> !connect jdbc:hive2://localhost:10000 username password org.apache.hive.jdbc.HiveDriver0: jdbc:hive2://localhost:10000>
$ beeline beeline> !connect hive grant 'hive', 'RWXC' hbase schematool schematool Caused by: MetaException(message:Version information not found in metastore. ) at org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:5638) schematool schematool schematool schematool $ schematool -help usage: schemaTool -dbTypeMetastore connection URL:
Metastore Connection Driver : com.mysql.jdbc.DriverMetastore connection User:
Starting metastore schema initialization to Initialization script completed
schemaTool completed info $ schematool -dbType mysql -info -passWordMetastore connection URL:
Metastore Connection Driver : com.mysql.jdbc.DriverMetastore connection User:
Hive distribution version:
Required schema version:
Metastore schema version:
schemaTool completed $ schematool -dbType mysql -info -passWord Metastore connection URL:
Metastore Connection Driver : com.mysql.jdbc.DriverMetastore connection User:
Hive distribution version:
Required schema version:
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version, Cause:
*** schemaTool failed *** -upgradeSchemaFrom -upgradeSchemaFrom $ schematool -dbType mysql -passWord 0.13.1 -userName
Metastore connection URL:
Metastore Connection Driver : com.mysql.jdbc.DriverMetastore connection User:
Starting upgrade metastore schema from version 0.13.1 to Starting metastore validation
Validating schema version
Succeeded in schema version validation.
[SUCCESS]Validating sequence number for SEQUENCE_TABLE
Succeeded in sequence number validation for SEQUENCE_TABLE [SUCCESS]Validating metastore schema tables
Succeeded in schema table validation.
[SUCCESS]Validating database/table/partition locations
Succeeded in database/table/partition location validation [SUCCESS]Validating columns for incorrect NULL values
Succeeded in column validation for incorrect NULL values [SUCCESS]Done with metastore validation: [SUCCESS]
schemaTool completed dryRun $ schematool -dbType mysql -upgradeSchemaFrom 0.10.0 -dryRun -passWordMetastore connection URL:
Metastore Connection Driver : com.mysql.jdbc.DriverMetastore connection User:
Starting upgrade metastore schema from version 0.10.0 to Upgrade script upgrade-0.10.0-to-0.11.0.mysql.sql
Upgrade script upgrade-0.11.0-to-0.12.0.mysql.sql
Upgrade script upgrade-0.12.0-to-0.13.0.mysql.sql
Upgrade script upgrade-0.13.0-to-0.14.0.mysql.sql
Upgrade script upgrade-0.14.0-to-1.1.0.mysql.sql
Upgrade script upgrade-1.1.0-to-HADOOP_MAPRED_HOME
export HADOOP_MAPRED_HOME=/usr/lib/hadoop-mapreduceHADOOP_MAPRED_HOME
export HADOOP_MAPRED_HOME=/usr/lib/hadoop-0.20-mapreduce hive-site.xml export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/4595-hive-HIVEMETASTORE export HADOOP_CREDSTORE_PASSWORD=abcdefg1234... export AUX_CLASSPATH=/opt/cloudera/parcels/CDH-5.13.3-1.cdh5.13.3.p0.2.... hive --service metatool -listFSRootListing FS Roots..
/etc/hive/conf/Hive Metastore Database
set hive.execution.engine=engine mrsparkmr set hive.execution.engine=spark; set hive.execution.engine; serialization.null.formatINSERTINSERT OVERWRITECREATE TABLE AS SELECT
/usr/lib/parquet /opt/cloudera/parcels/CDH/lib/parquetPARQUET_TABLE
CREATE TABLE parquet_table_name (x INT, y STRING) STORED AS PARQUET; dfs.block.sizehdfs-site.xml CREATE EXTERNAL TABLE parquet_table_name (x INT, y STRING)LOCATION '/test-warehouse/tinytable'
STORED AS PARQUET;
INSERTSELECT
parquet.compressionSET parquet.compression=GZIP;
INSERT OVERWRITE TABLE tinytable SELECT * FROM texttable;UNCOMPRESSEDGZIPSNAPPY
20MB SETSET hive.auto.convert.join=true;
SET hive.auto.convert.join.noconditionaltask.size=[PDF] apache download
[PDF] apache dump http requests
[PDF] apache enable https
[PDF] apache errors
[PDF] apache file download configuration
[PDF] apache file download example
[PDF] apache file download forbidden
[PDF] apache file download limit
[PDF] apache file download permission
[PDF] apache file download size limit
[PDF] apache file download timeout
[PDF] apache hadoop 2.7 documentation
[PDF] apache hadoop api documentation
[PDF] apache hadoop documentation download