thierrycz opened a new issue, #26: URL: https://github.com/apache/polaris-tools/issues/26
Hi, i am trying to migrate tables between two rest catalogs, gravitino -> lakekeeper. Lakekeeper is secured with a token, i can connect with curl to get config, but when i try to migrate, i get an error saying that the Authorization header is missing. here is the command i use. ``` java -Dlogback.configurationFile=file://$PWD/logback.xml \ -Djavax.net.ssl.trustStore=/path/to/jks/pe.jks \ -jar ~/iceberg-catalog-migrator/iceberg-catalog-migrator-cli-0.3.0.jar register \ --dry-run \ --source-catalog-type REST \ --source-catalog-properties uri=http://rest-catalog-iceberg.cluster.intra/iceberg,warehouse=s3://x-da043-applis-s3/external/hive/dbs3.db \ --identifiers "dbs3.topic1" \ --target-catalog-type REST \ --target-catalog-properties uri=https://rest-catalog-lakekeeper.cluster.intra/catalog,warehouse=fab,authentication.type=BEARER,authentication.token=${bearer} ``` here is the error message ``` INFO - Configured source catalog: SOURCE_CATALOG_REST ERROR - Error during CLI execution: Not authorized: Missing authorization header. Please check `catalog_migration.log` file for more info. ``` and when i look in the catalog_migration.log in DEBUG the rest catalog respond with `http-outgoing-1 << "HTTP/1.1 401 Unauthorized[\r][\n]"` and there is no Header like "Authorization: Bearer xxxxxx" in the initial query It seems he's not taking into account the target-catalog-properties authentication.type and authentication.token. What am i missing ? best regards -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org