-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property Value for: gplinkHostName not found! #1
Comments
Your gplink.properties file needs to have "gplinkHostName" set to the name of the host where gplink is installed. The segment hosts also need to be able to resolve and route to the hostname value you provide. Here is the sample file: |
Yes, I used the file: $ GPLINK_HOME/gplink.properties but when I try to request data from my external table, I get an error: SQL Error [08006]: ERROR: http response code 400 from gpfdist (gpfdist: // ubuntu: 24000 / connections / sqlserver.properties + sql / sqlserver.sql # transform = gplink): HTTP / 1.0 400 invalid request (unsupported input # transform) (seg0 slice1 127.0.1.1:6000 pid = 4408) I was doing: |
Seeing that you are using ubuntu, you must be using the open source version. It looks like the open source version of gpfdist does not support #transform which is odd. I'll look into this for you to see why this isn't in the open source version. |
Can you provide the external table DDL that gplink created? |
gpfdist requires that GPDB has been compiled with libyaml. Look in your configure output (if you still have it) and see if there is a line like "libyaml is not found. disabling transformations for gpfdist." |
I did not find any references to "libyaml" in my config.log, but my config had the form: The external table DLL looks like:
CREATE EXTERNAL TABLE demodb.public.ant_series (
ALTER EXTERNAL TABLE public.ant_series OWNER TO gpadmin; |
I previously tried to create an external table using "PXF" for the SQL Server, but I also received an error: SQL Error [XX000]: ERROR: remote component error (500) from '127.0.0.1.1.18888': type Exception report message com.microsoft.sqlserver.jdbc.SQLServerDriver description . exception java.io.IOException: com.microsoft.sqlserver.jdbc.SQLServerDriver (libchurl.c: 944) (seg0 slice1 127.0.1.1:6000 pid = 13030) (cdbdisp.c: 254) DLL external table:
CREATE EXTERNAL TABLE demodb.public.pxf_test_from_mssql (
ALTER EXTERNAL TABLE public.pxf_test_from_mssql OWNER TO gpadmin; Could there be a cause of errors when working with PXF and gplink the same? |
Do external tables with gpfdist (without transform work)? If it does, can you try an external table with gpfdist transform like this: |
Hello, http://www.pivotalguru.com/?p=147 I used to create external table with csv file and it works. http://www.pivotalguru.com/?p=871 and it works too, but I used -p 8900 because with -p 8999 I had error. Then I moved file Then I created external table like it: -- Drop table CREATE EXTERNAL TABLE demodb.public.ant_series ( -- Permissions ALTER EXTERNAL TABLE public.ant_series OWNER TO gpadmin; And it is working now. Thank you for yor help to me!!! |
Hello.
when i run:
gpltable -s $GPLINK_HOME/connections/sqlserver.properties -t $GPLINK_HOME/gplink.properties -f $GPLINK_HOME/sql/sqlserver.sql -a $GPLINK_HOME/tables/public.sqlserver.sql
I have:
Exception in thread "main" java.sql.SQLException: Property Value for: gplinkHostName not found!
at GPLink.main(GPLink.java:74)
what could be the problem
The text was updated successfully, but these errors were encountered: