I know it's possible to query data managed by Hive with HAWQ, and HCatalog, I have installed Hortonworks ambari that installs all the tools needed. To query the hive i schema followed pivotal instructions where it says to enter PostgreSQL and do the command SET pxf_service_address TO "localhost:51200", but I always get the error unrecognized configuration parameter "pxf_service_address". Does anyone have this problem before?
Querying hive schema with HAWQ and PXF
145 Views Asked by Mário Rodrigues At
1
There are 1 best solutions below
Related Questions in POSTGRESQL
- Why does adding a JOIN completely modify the query planner behaviour?
- When dealing with databases, does adding a different table when we can use a simple hash a good thing?
- Aggregate and count in PostgreSQL
- Rails HABTM: Select everything a that a record 'has'
- Trigger using data from inserted row
- Select results where joined table contains records with an attribute, but without another
- DB candidate as CouchDB/Schema replacement
- How do I properly add data in SQLAlchemy?
- Postgres in Conda Environment (Ubuntu 14.04)
- How to customize the output of the Postgres Pseudo Encrypt function?
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Why does pg_search prefix not work like I expect?
- extracting meta info from a table psql using information_schema
- How to query a table in the database and copy it's data into one one?
- Update a table using info from a second table and a condition from a third table in Postgresql
Related Questions in AMBARI
- Ambari Monitoring raw data
- boot2docker ssh apache-kylin windows7 source ambari-functions ambari-functions ERROR : line 11: syntax error: bad function name
- Oozie on YARN - oozie is not allowed to impersonate hadoop
- What are the steps to upgrade Spring XD using the Ambari Plugin?
- HDP cluster how define disk partition?
- Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) during ambari hadoop installation
- How to intergrate hadoop using ambari without HDP?
- Ambari version tab not displaying anything
- Ambari server LDAP setupp error
- Ambari Custom Hadoop installation
- How to bypass user login in ambari web
- Installation BigInsights 4.2
- In ambari install options should I add Ambari-Server IP/hostname?
- Pig script runs fine on Sandbox but fails on a real cluster
- does ambari use nagios
Related Questions in HCATALOG
- saveAsTable in Spark 1.4 is not working as expected
- Where does Hadoop Hcatalog store databases and tables?
- Apache PIG - ERROR org.apache.pig.impl.PigContext - Encountered " <OTHER> ",= "" at line 1, column 1
- How to import table data stored in Hive in my MapReduce job?
- Simple Producer Consumer used to send partition notification using HCATALOG
- Pig and HCatalog
- Writing to multiple HCatalog schemas in single reducer?
- HCatalog configured with Hive
- Issues saving to Hive table from Pig
- Merge two bag and get all the field from first bag in pig
- Hadoop + Hive - hcatalog won't startup
- Connecting HDP from Teradata Studio Express 15.10
- could not resolve org.apache.hcatalog.pig.hcatloader using imports
- Using Hive with Pig through HCatalog issue with TimeStamp datatype
- Trigger to HCATALOG
Related Questions in HAWQ
- HAWQ stop cluster failed
- Why doesn't HAWQ support index for non-heap tables currently?
- PIVOTAL HAWQ- PXF connection is not working
- How to load data from oracle and sql server to HAWQ using Spring XD
- Greenplum - Out of memory
- Query failing with "ERROR: Canceling query because of high VMEM usage"
- what are the Hadoop requirements for hawq 2.4
- How to push data from HAWQ into GREENPLUM?
- Error when installing "hawq init cluster" on Docker, ,"internal_load_library","dfmgr.c",208
- Greenplum - How To Handle Deadlock
- Hadoop - Hawq - Add new segment
- HAWQ PostgreSQL - Increment row based on previous row
- Talend greenplumRow error handling
- Select query not working on external table
- Greenplum Delete statement not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Your version() output indicates you are connecting to a PostgreSQL instance and this is NOT HAWQ.
The default port for both PostgreSQL and HAWQ is 5432 so on a single node, one has to be changed. I think it is a bug that Hortonworks has decided to change the HAWQ port instead of the PostgreSQL port. So if you want to give some feedback to Hortonworks, tell them to change the PostreSQL port to something other than 5432.
Find hawq_master_address_port in your /usr/local/hawq/etc/hawq-site.xml file. The value will be something other than 5432. You should also look at the hawq_master_address_host value and make sure you are on the Master host. So ssh to your master host to connect via psql.
Now, armed with your HAWQ port and logged in as gpadmin on the Master host, edit your .bashrc file. Add:
Substitute hawq_master_address_port with the value from hawq-site.xml.
Now source your .bashrc file and then run:
I'm also guessing you don't have a gpadmin database so create it.
Now you can just run "psql" and connect to HAWQ.