我已经使用私人代理创建了构建管道。
在我的私人代理上,我添加了ODBC连接以连接到Azure Databricks服务。连接成功。
构建失败,并出现以下错误:
2018-10-02T07:44:15.2532816Z File "C:\agent\A\1\s\Read_Table.py", line 119, in from_hive
2018-10-02T07:44:15.2532816Z hiveconn = pyodbc.connect("DSN=MyAzureDatabricks_DSN",autocommit = True) # TO CONNECT TO QA Environment
2018-10-02T07:44:15.2532816Z pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
2018-10-02T07:44:15.3624816Z ##[error]C:\Program Files\Python36\python.exe failed with return code: 1
如何解决此问题?
任何帮助都受到赞赏。