Ниже приведен фрагмент кода для создания файла в datalake. ADLException генерируется в строке client.createfile. Проверяется с разрешения пользователя на чтение, запись и выполнение. Может кто-нибудь помочь, как справиться с этим.
try {
OutputStream stream = client.createFile("/Raw/TEST/"+FuFileName, IfExists.OVERWRITE);
PrintStream out = new PrintStream(stream);
for (int i = 1; i <= 10; i++) {
out.println("This is line #" + i);
out.format("This is the same line (%d), but using formatted output. %n", i);
}
out.close();
} catch (ADLException ex) {
printExceptionDetails(ex);
} catch (Exception ex) {
System.out.format(" Exception: %s%n Message: %s%n", ex.getClass().getName(), ex.getMessage());
}