RE: Hook is not getting called on running query from beeline

2018-08-22 Thread Chetan Kothari
It seems --hiveconf is not getting picked from beeline. So even if I give wrong hook class name in following command, I am able to connect and execute queries. But hook is not getting called.   beeline -u

Re: Hook is not getting called on running query from beeline

2018-08-22 Thread Zoltan Haindrich
Hello I was wondering about that the property is not getting picked up from beeline; but it looks ok to me: $ beeline -u 'jdbc:hive2://...' --hiveconf hive.exec.post.hooks=asd -e 'select 1' Connected to: Apache Hive (version 1.2.1000.2.6.1.0-129) Driver: Hive JDBC (version

RE: Hook is not getting called on running query from beeline

2018-08-22 Thread Chetan Kothari
Thanks Tanvi for your inputs. Hook is not getting called from beeline/JDBC for any queries.   I ensured that hive-site.xml is in classpath and also tried following but still hook is not getting called.   beeline -u "jdbc:hive2://HYPERLINK "http://example.com:2181"example.com:2181,HYPERLINK

how can I collect hive metastore metrics and hiveserver2 metrics separately

2018-08-22 Thread Huang Meilong
Hi all, I found the configuration of collecting hive metrics here: https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-Metrics Configuration Properties - Apache Hive - Apache Software

Re: Enabling Snappy compression on Parquet

2018-08-22 Thread Patrick Duin
Thanks both for explaining! Snappy is doing fine for me at the moment but I was curious about the other options. I'll have look at the parquet tool and see if that can help me a bit as well. Op wo 22 aug. 2018 om 08:05 schreef Jörn Franke : > No parquet and orc have internal compression

Re: Enabling Snappy compression on Parquet

2018-08-22 Thread Jörn Franke
No parquet and orc have internal compression which must be used over the external compression that you are referring to. Internal compression can be decompressed in parallel which is significantly faster. Internally parquet supports only snappy, gzip,lzo, brotli (2.4.), lz4 (2.4), zstd (2.4).