Skip to content

[BUG]: Lakebridge analyzer fails to run on Windows machines that have corporate restrictions - e.g. LoadLibrary perl530.dll #2599

Description

@databricks-ostrowski

Is there an existing issue for this?

  • I have searched the existing issues

Category of Bug / Issue

Application crashed

Current Behavior

On enterprise machines, Lakebridge analyzer is having issues with some common Windows lockdowns. Analyzer should user more user-mode only approaches. This issue is for an ERROR and failure regarding the LoadLibrary perl530.dll

Expected Behavior

Lakebridge Analyzer completed.

Steps To Reproduce

PS C:\Work> databricks labs lakebridge analyze
Enter the path of the directory containing sources to analyze (default: C:/Work): C:/work/sql_scripts
Enter the path of the report file for analyzer results (default: lakebridge-analyzer-results.xlsx): C:/work/split_sql_scripts
Select the source technology:
[0]  ABInitio
[1]  ADF
[2]  Alteryx
[3]  Athena
[4]  BigQuery
[5]  BODS
[6]  Cloudera (Impala)
[7]  Datastage
[8]  Greenplum
[9]  Hive
[10] IBM DB2
[11] Informatica - Big Data Edition
[12] Informatica - PC
[13] Informatica Cloud
[14] Jupyter Notebook
[15] MS SQL Server
[16] Netezza
[17] Oozie
[18] Oracle
[19] Oracle Data Integrator
[20] PentahoDI
[21] PIG
[22] Presto
[23] PySpark
[24] Redshift
[25] SAPHANA - CalcViews
[26] SAS
[27] Snowflake
[28] SPSS
[29] SQOOP
[30] SSIS
[31] SSRS
[32] Synapse
[33] Talend
[34] Teradata
[35] Vertica
Enter a number between 0 and 35: 15

Relevant log output or Exception details

## Error / output

15:11:40 WARNING [src/databricks/labs/lakebridge/analyzer/lakebridge_analyzer] Excel report will be written without .xlsx extension: C:\work\split_sql_scripts
ERROR: LoadLibrary perl530.dll failed
15:11:46  ERROR [d.l.bladespector.analyzer] Analysis failed
Traceback (most recent call last):
  File "C:\work\.databricks\labs\lakebridge\state\venv\Lib\site-packages\databricks\labs\bladespector\analyzer.py", line 153, in _run_binary
    raise subprocess.CalledProcessError(process.returncode, args)
subprocess.CalledProcessError: Command '['C:\\work\\.databricks\\labs\\lakebridge\\state\\venv\\Lib\\site-packages\\databricks\\labs\\bladespector\\Analyzer\\Windows\\analyzer.exe', '-d', 'C:\\work\\sql_scripts', '-r', 'C:\\Users\\CO16040.ARI_NT.000\\AppData\\Local\\Temp\\tmp6_0025ta\\staging-report.xlsx', '-t', 'SQL']' returned non-zero exit status 1.
15:11:47  ERROR [src/databricks/labs/lakebridge.analyze] RuntimeError: Analysis failed

Logs Confirmation

  • I ran the command line with --debug
  • I have attached the lsp-server.log under USER_HOME/.databricks/labs/remorph-transpilers/<converter_name>/lib/lsp-server.log

Sample Query

Operating System

Windows

Version

latest via Databricks CLI

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions