I am working on the cross container data access scenario in HANA XSA. I have created one HDB project BA2_to_BA2_S; I created one table and roles for that table. I created other HDB project BA2_to_BA2_T where I created the mta.yaml file and given all the parameters and build it. mtayaml.png It got build successfully. After that I created the Table_Access.hdbgrant file hdbgrants.png when I build this file I am facing below error:
@sap/hdi-deploy, version 3.5.1 (mode default), server version 2.00.030.00.1522210459 (22.214.171.124), node version 8.9.3
Using service replacements from environment variable "SERVICE_REPLACEMENTS" with 1 replacements
Collecting files... ok (0s 2ms)
1 directories collected
3 files collected
0 reusable modules collected
Processing grants files...
Using service "logical-BA2-grantor" of type "hdi"
Processing "src/Table_Access.hdbgrants"... ok
Processing grants files... ok (0s 258ms)
Preprocessing files... ok (0s 1ms)
Connecting to the container "BA2_TO_BA2_T_SCHEMA_1"...
Connecting to the container "BA2_TO_BA2_T_SCHEMA_1"... ok (0s 6ms)
Locking the container "BA2_TO_BA2_T_SCHEMA_1"...
Locking the container "BA2_TO_BA2_T_SCHEMA_1"... ok (0s 58ms)
Synchronizing files with the container "BA2_TO_BA2_T_SCHEMA_1"...
Synchronizing files with the container "BA2_TO_BA2_T_SCHEMA_1"... ok (0s 249ms)
0 modified or added files are scheduled for deploy based on delta detection
0 deleted files are scheduled for undeploy based on delta detection (filtered by undeploy whitelist)
1 files are scheduled for deploy based on explicit specification
0 files are scheduled for undeploy based on explicit specification
Deploying to the container "BA2_TO_BA2_T_SCHEMA_1"...
Starting make in the container "BA2_TO_BA2_T_SCHEMA_1" with 1 files to deploy, 0 files to undeploy...
No make necessary
Migrating libraries... ok
Preparing the make transaction...
Error: The file "src/Table_Access.hdbgrants" could not be found 
Error: Some requested files/folders could not be found 
Error: Could not read work files 
Error: Preparing... failed 
Error: Preparing the make transaction... failed 
Checking the uniqueness of the catalog objects in the schema "BA2_TO_BA2_T_SCHEMA_1"...
Error: Checking the uniqueness of the catalog objects in the schema "BA2_TO_BA2_T_SCHEMA_1"... failed 
Make failed (6 errors, 0 warnings): tried to deploy 1 files, undeploy 0 files, redeploy 0 dependent files
Error: Making... failed 
Error: Starting make in the container "BA2_TO_BA2_T_SCHEMA_1" with 1 files to deploy, 0 files to undeploy... failed 
Deployment to container BA2_TO_BA2_T_SCHEMA_1 failed - error: HDI make failed [Deployment ID: none].
Error: HDI make failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deploy@ start: `node node_modules/@sap/hdi-deploy/deploy.js`
npm ERR! Exit status 1
npm ERR! Failed at the deploy@ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
│ npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /home/hanxsa/.config │
npm ERR! A complete log of this run can be found in:
npm ERR! /hana/shared/HAN/xs/app_working/capidhana/executionroot/6657f3ec-8199-4ae0-95b0-34552d60cdd1/app/META-INF/cache/node8.9/.npm/_logs/2018-08-31T13_21_29_641Z-debug.log
6:51:31 PM (Builder) Build of /BA2_to_BA2_T/BA2_to_BA2_T_DB failed.
If someone knows solution for this then please could you help me to resolve this problem.