[Dump Subset] fixed issue in parameter file

This commit is contained in:
Miriam Baglioni 2022-11-28 14:58:57 +01:00
parent f26378f426
commit 99fb3dc1d0
2 changed files with 33 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class ReadMasterDuplicateFromDB {
.toString(
ReadMasterDuplicateFromDB.class
.getResourceAsStream(
"/eu/dnetlib/dhp/bulktag/datasourcemaster_parameters.json")));
"/eu/dnetlib/dhp/oa/graph/dump/datasourcemaster_parameters.json")));
parser.parseArgument(args);

View File

@ -0,0 +1,32 @@
[
{
"paramName":"hdp",
"paramLongName":"hdfsPath",
"paramDescription": "the path of the sequencial file to read",
"paramRequired": true
},
{
"paramName": "pp",
"paramLongName": "postgresPassword",
"paramDescription": "the path used to store temporary output files",
"paramRequired": true
},
{
"paramName": "pu",
"paramLongName": "postgresUser",
"paramDescription": "true if the spark session is managed, false otherwise",
"paramRequired": true
},
{
"paramName": "purl",
"paramLongName": "postgresUrl",
"paramDescription": "the relationPath",
"paramRequired": true
},
{
"paramName": "hdnn",
"paramLongName": "hdfsNameNode",
"paramDescription": "the relationPath",
"paramRequired": true
}
]