Я пытаюсь переместить некоторые файлы из одного каталога в другой в ADLS с помощью инструмента azcli.
Вот моя команда:
az dls fs move --account <my dlsname> --source-path /temp/ --
destination-path /temp/ymd=2019-05-31/
Вот ошибка, которую я продолжаю получать:
The command failed with an unexpected error. Here is the traceback:
Operation failed: RENAME, temp
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/knack/cli.py", line 206, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 560, in execute
raise ex
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 618, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 611, in _run_job
six.reraise(*sys.exc_info())
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/six.py", line 693, in reraise
raise value
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 588, in _run_job
result = cmd_copy(params)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/commands/__init__.py", line 297, in __call__
return self.handler(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/core/__init__.py", line 453, in default_command_handler
return op(**command_args)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/cli/command_modules/dls/custom.py", line 251, in move_adls_item
client.mv(source_path, destination_path)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/datalake/store/core.py", line 536, in mv
destination=path2.as_posix())
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/datalake/store/lib.py", line 458, in call
self.log_response_and_raise(response, err)
File "/usr/local/Cellar/azure-cli/2.0.64/libexec/lib/python3.7/site-packages/azure/datalake/store/lib.py", line 344, in log_response_and_raise
raise exception
azure.datalake.store.exceptions.DatalakeRESTException: Operation failed: RENAME, temp
Документация на это тоже очень скудная: https://docs.microsoft.com/en-us/cli/azure/dls/fs?view=azure-cli-latest#az-dls-fs-move
Я получаю это для ряда вариантов этой команды.Я должен что-то упустить в синтаксисе здесь.