Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to do bulk insert to azure SQL database using tDBOutputBulkExec from ADLS Gen1

Hi,

I am trying to bulk load file which is on ADLS Gen1 to Azure SQL database using component tDBOutputBulkExec (as an output component) . But I am getting error following error :

Starting job Job_bulk_insert_gen1_sql_db at 20:28 15/08/2019.

[statistics] connecting to socket on port 3706
[statistics] connected
Exception in component tDBOutputBulkExec_1_tMBE (Job_bulk_insert_gen1_sql_db)
com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open server 'tsqldw' requested by the login. Client with IP address '157.33.186.180' is not allowed to access the server. To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect. ClientConnectionId:2fcbe711-2fc4-4692-bfc4-f75659de13b5
at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217)
at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:279)
at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:99)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4346)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:3160)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$100(SQLServerConnection.java:43)
at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:3123)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2445)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1981)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1628)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1459)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:773)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1168)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at azure_sql_dw_projects.job_bulk_insert_gen1_sql_db_0_1.Job_bulk_insert_gen1_sql_db.tFileInputDelimited_1Process(Job_bulk_insert_gen1_sql_db.java:891)
at azure_sql_dw_projects.job_bulk_insert_gen1_sql_db_0_1.Job_bulk_insert_gen1_sql_db.runJobInTOS(Job_bulk_insert_gen1_sql_db.java:1237)
at azure_sql_dw_projects.job_bulk_insert_gen1_sql_db_0_1.Job_bulk_insert_gen1_sql_db.main(Job_bulk_insert_gen1_sql_db.java:1087)
[statistics] disconnected

Job Job_bulk_insert_gen1_sql_db ended at 20:28 15/08/2019. [exit code=1]

 

Can anyone help me in this?

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

We changed component name from tAzureSqlDWBulkExec to tSQLDWHBulkExec since V 7.0.1.

Load data from Azure Data Lake Store into SQL Data Warehouse

  1. Get started with Azure Data Lake Store using the Azure portal
  2. Create HDInsight clusters with Data Lake Store by using the Azure portal

Note:
We have no components to load data to Data Lake Storage. And our hive load components only support Blob storage.
So when you test Data Lake Storge, you can't parepare the data by our components.

Best regards

Sabrina