You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by lewismc <gi...@git.apache.org> on 2018/02/23 05:30:26 UTC
[GitHub] oodt pull request #56: OODT-972 Add filemgr.server and filemgr.client config...
GitHub user lewismc opened a pull request:
https://github.com/apache/oodt/pull/56
OODT-972 Add filemgr.server and filemgr.client configuration keys to Radix filemgr.properties
Trivial patch to address https://issues.apache.org/jira/browse/OODT-972
I am still working through deployment of a new SDS so please do not merge this yet.
I will most likely also provide a wiki entry on XML-RPC --> AvroRPC upgrade alongside this issue as well so bare with me folks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lewismc/oodt OODT-972
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/oodt/pull/56.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #56
----
commit 73e8e853d88e9b3fcb34a5d8f3b7f1c4aeba10ac
Author: Lewis John McGibbney <le...@...>
Date: 2018-02-23T05:28:29Z
OODT-972 Add filemgr.server and filemgr.client configuration keys to Radix filemgr.properties
----
---
[GitHub] oodt issue #56: OODT-972 Add filemgr.server and filemgr.client configuration...
Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the issue:
https://github.com/apache/oodt/pull/56
Or of course, we could avoid this patch and just make sure that the Radix filemgr.properties is in sync with the [default filemgr one](https://github.com/apache/oodt/blob/8a3d5194424d8327e8b3ffc4a2d45f18b56e3371/filemgr/src/main/resources/filemgr.properties)!
---
[GitHub] oodt issue #56: OODT-972 Add filemgr.server and filemgr.client configuration...
Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the issue:
https://github.com/apache/oodt/pull/56
In addition to this, Radix generates the following filemgr.properties with incorrect paths
```
org.apache.oodt.cas.filemgr.catalog.lucene.idxPath
org.apache.oodt.cas.filemgr.repositorymgr.dirs
org.apache.oodt.cas.filemgr.validation.dirs
org.apache.oodt.cas.filemgr.mime.type.repository
```
Say my SDS is deployed at ```/usr/local/coal-sds-deploy/```, Radix creates the default property values **less** the _filemgr_ directory e.g. ```/usr/local/coal-sds-deploy/etc/mime-types.xml```. This is incorrect, the correct path should be ```/usr/local/coal-sds-deploy/filemgr/etc/mime-types.xml```.
I'll update the patch with this fix once we can agree on what to do with the above...
---
[GitHub] oodt pull request #56: OODT-972 Add filemgr.server and filemgr.client config...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/oodt/pull/56
---
[GitHub] oodt issue #56: OODT-972 Add filemgr.server and filemgr.client configuration...
Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the issue:
https://github.com/apache/oodt/pull/56
There also appears to be a bug in the auto-generated product-types.xml as follows; instead of
```
<repository path="file:///usr/local/coal-sds-deploy/data/archive"/>
```
Note above correct protocol assignment ```file:///```, the file is instead written as
```
<repository path="file://usr/local/coal-sds-deploy/data/archive"/>
```
Note two forward slashes instead of three!
---
[GitHub] oodt issue #56: OODT-972 Add filemgr.server and filemgr.client configuration...
Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the issue:
https://github.com/apache/oodt/pull/56
One issue I do have however, should we be making the AvroRPC default moving forward?
---