Skip to Content
0
Feb 01, 2021 at 02:16 AM

cannot deploy .hdbcds artifacts in BAS

261 Views Last edit Feb 01, 2021 at 02:18 AM 4 rev

Hi All,

i cannot deploy .hdbcds artifact to create table in BAS, getting below error.

Log

5:56:51 PM (HDB)  Starting make in the container "XCWSCHEMA_1" with 1 files to deploy, 0 files to undeploy... 
5:56:51 PM (HDB)   Disabling table replication for the container schema "XCWSCHEMA_1"...   Disabling table replication for the container schema "XCWSCHEMA_1"... 
					ok  (0s 77ms)  Migrating libraries...   Migrating libraries... ok  (0s 8ms)  Making...    Preparing...    Preparing the make transaction... 
					Adding "src/testWeb.hdbcds" for deploy...    Error: "src/testWeb.hdbcds": could not create a compile unit for the file [8211714]     
					at "src/testWeb.hdbcds" (0:0)
5:56:51 PM (HDB)    Error: Could not find the "com.sap.hana.di.cds" build plugin [8210501]   Error: Adding "src/testWeb.hdbcds" for deploy... failed [8211700]  
					Error: Preparing... failed [8211602]   Preparing the make transaction... ok  (0s 55ms)   Make failed (5 errors, 0 warnings): tried to deploy 1 
					files, undeploy 0 files, redeploy 0 dependent files   Error: Making... failed [8211605] Error: Starting make in the container "XCWSCHEMA_1"
					with 1 files to deploy, 0 files to undeploy... failed [8214168]
5:56:51 PM (HDB) Deployment to container XCWSCHEMA_1 failed - error: HDI make failed [depId].
5:56:51 PM (HDB) Error: HDI make failed
5:56:51 PM (HDB) (1s 741ms)
5:56:51 PM (HDB) 
5:56:51 PM (HDB) Deployment failed with exit code: 1
5:56:51 PM (HDB) STRUCTURED LOG CHECKSUM 8076648cc918d7b0c7265f7b45bd3a87656abf442a596bb9d4a9d27bc37e2ba6
5:56:51 PM (HDB) STRUCTURED LOG SIZE5953
5:56:51 PM (HDB) SENDING STRUCTURED LOG
5:56:51 PM (HDB) Ended because of error: Deployment failed with exit code: 1
5:56:51 PM (HDB) Build command failed : Please check the Problem view for more information.: hdi-build operation failed: Deployment failed with exit code: 1
5:56:51 PM (HDB) Build of /XChickenWingsProject/db failed due to The "task for hdb build" process finished with code 1.

I am using SAP Cloud platform - trail HANA instance to create this.

1. I have added below code to .hdiconfig file as well.

              "hdbcds": {
"plugin_name": "com.sap.hana.di.cds"
},

2. Also tried adding below codes to package.json file.

  • "cds": { "hana": { "deploy-format": "hdbtable" }, "requires": { "db": { "kind": "hana" } } }
  • { "cds": { "hana" : { "deploy-format": "hdbtable" } } }

it didn't work. Has .hdbcds not supported anymore in SCP - Hana instance or am I making any error? Kindly help.

Thanks

Suresh

Attachments

vlwdn.png (19.0 kB)