Updating repo.path dynamically?

(Paul) #1

I am trying to update this setting dynamically using the JEST library and a request like;

    String source = "{\n" +
            "    \"transient\" : {\n" +
            "        \"path.repo\" : [\" C:\\temp \" ]\n" +
            "    }\n" +

but I get;

[2015-10-12 22:40:55,075][WARN ][action.admin.cluster.settings] [Brain Cell] ignoring transient setting [path.repo], not dynamically updateable

Is there a good reason why this is not possible ? Or is it something that could be supported ?


(Mark Walkom) #2

It's there for security reasons, you don't really want someone adding a new repo and then importing adhoc data.

(system) #3