[
https://issues.apache.org/jira/browse/OAK-8889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomek Rękawek updated OAK-8889:
-------------------------------
Description:
The oak-run console can be used with the Azure Segment Store, by providing the
{{az:}} URL and the secret in an env variable. However, it'll throw a NPE,
because of the missing {{options.getTempDirectory()}} value in
{{org.apache.jackrabbit.oak.run.cli.SegmentTarFixtureProvider#configureSegment}}.
There's no way to set this value from command line options for {{oak-run
console}}. We can create a temp directory in this case - it shouldn't be used
anyway, that's just a requirement for creating the FileStore.
//cc: [~adulceanu]
was:
The oak-run console can be used with the Azure Segment Store, by providing the
{{az:}} URL and the secret in an env variable. However, it'll throw a NPE,
because of the missing {{options.getTempDirectory()}} value. There's no way to
set this value from command line options for {{oak-run console}}. We can create
a temp directory in this case - it shouldn't be used anyway, that's just a
requirement for creating the FileStore.
//cc: [~adulceanu]
> NPE in the oak-run console az:*
> -------------------------------
>
> Key: OAK-8889
> URL: https://issues.apache.org/jira/browse/OAK-8889
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-run, segment-azure
> Reporter: Tomek Rękawek
> Priority: Major
> Fix For: 1.26.0
>
>
> The oak-run console can be used with the Azure Segment Store, by providing
> the {{az:}} URL and the secret in an env variable. However, it'll throw a
> NPE, because of the missing {{options.getTempDirectory()}} value in
> {{org.apache.jackrabbit.oak.run.cli.SegmentTarFixtureProvider#configureSegment}}.
> There's no way to set this value from command line options for {{oak-run
> console}}. We can create a temp directory in this case - it shouldn't be used
> anyway, that's just a requirement for creating the FileStore.
> //cc: [~adulceanu]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)