on 02-24-2023 10:18 AM
I'm on hana express trial binary version on SUSE SLES SAP special ´setup in Azure VM
I had the JDBC: [257]: problem below and found the solution
restart dpagent
make sure that all previous steps are successful
2 all stuff started
7 connection ok and not has stopped working
8 agent registration successfull
9 should now work to register FileAdapter
Next step is to use HANA Studio and register remote source
Provisioning - Remote Sources - New Remote Source
Filled in source name "zhanatrialFileAdapter" and select "FileAdapter"
error : Parameter "Password" cannot be empty
All password fields filled in but still error
Closing all the open "dropdowns" and selecting Crednetials mode None but then error below
SAP DBTech JDBC: [403]: internal error: Connection failed for remote source zhanatrialFileAdapter. Reason: not supported
window is displayed where to fill in
connection properties
adapter version 1.0
server
port
authentication mode
ssl mode
credentials
credentials mode none
Any idea?
************************************************************
DPAgent Configuration Tool
************************************************************
1. Agent Status
2. Start or Stop Agent
3. Agent Preferences
4. Remote Source Credentials
5. SSL Keystores & Settings
6. Configure DPAgent HTTP(S) Proxy Authentication
7. SAP HANA Connection
8. Agent Registration
9. Adapter Registration
10. Custom Adapters
11. Agent & Adapter Versions
q. Quit
b. Back
************************************************************
Enter Option:9
************************************************************
Adapter Registration
************************************************************
1. Display Adapters
2. Register Adapter
3. Unregister Adapter
q. Quit
b. Back
************************************************************
Enter Option:2
Enter adapter name:
FileAdapter
Failed to register adapter.
Context: Executing SQL statement "create adapter "FileAdapter" at location agent """ failed with SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near """: line 1 col 48 (at pos 48)
2023-02-24 09:32:06,656 [ERROR] SocketConnector.read - Executing SQL statement "create adapter "FileAdapter" at location agent """ failed with SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near """: line 1 col 48 (at pos 48)
2023-02-24 09:32:06,659 [ERROR] AgentConnection.submitRequest - Request Failed for ADMIN_REGISTER_ADAPTER Context: Executing SQL statement "create adapter "FileAdapter" at location agent """ failed with SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near """: line 1 col 48 (at pos 48)
Hello Otto,
HANA Studio is not very effective for editing SDI remote sources. Not sure if there is a Database Explorer app in your HANA Express, that would be a better UI for this purpose. In HANA Studio there can be misinterpreted configuration; and all unnecessary credential options are displayed even though only one is really used. You will have to use Technical User for the credentials instead of None, and enter the AccessToken in each mandatory credential field.
Not sure if you have already set up an AccessToken & root dirs for FileAdapter on your agent. Do those first, then fill out all of the credential/password entries HANA Studio is asking you for with the same AccessToken you created.
Best regards,
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many Thanks for the advice
I have done the steps "Set FileAdapter Access Token" and "Set FileAdapter preferences"
I'm not using PGP
In SAP HANA Studio :
When selecting 'Technical User' and pressing the "save this editor" button then there is a popup with text "You have selected 'technical user' as the credentials mode, but only 'NONE' credentials can be used at this moment"
Next steps :
_
Replicate "Change Data Capture" (CDC) from HANA table to the below destinations
_
Write to File on local file system
_
Write to HDFS file system
_
Write to Hive
_
Update to Hive
_
Delete from Hive
__
__
All good tips will be appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer - will try that with accesstoken
*************************
I have a problem with the "Database Explorer app"
SQL Console could not connect to the database.
Error: There was a problem making a connection to the database (ID C44_0): SQL_ERROR
SQL Error: Connection failed (RTE:[89006] System call 'recv' failed, rc=104:Connection reset by peer {10.3.0.4:62398 -> 10.3.0.4:39015} (10.3.0.4:62398 -> zhanatrial.westeurope.cloudapp.azure.com:39015))
*************************
Connecting from hana studio works using the same hostname and port
I have been able to create a database table and do insert, update and delete from the sql console in hana studio so something is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.