You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org> on 2012/03/02 23:38:07 UTC

[jira] [Updated] (OOZIE-171) GH-166: Modify the logic of adding .so and .so.1 files into cache

     [ https://issues.apache.org/jira/browse/OOZIE-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated OOZIE-171:
-------------------------------------

    Fix Version/s: pre-Apache
    
> GH-166: Modify the logic of adding .so and .so.1 files into cache
> -----------------------------------------------------------------
>
>                 Key: OOZIE-171
>                 URL: https://issues.apache.org/jira/browse/OOZIE-171
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>             Fix For: pre-Apache
>
>
> It is related to code at JavaActionExecutor:addToCache() method
>  String fileName = filePath.substring(filePath.lastIndexOf("/") + 1);
>                 if (fileName.endsWith(".so") || fileName.contains(".so.")) {  // .so files
>                     if (!fileName.endsWith(".so")) {
>                         int extAt = fileName.indexOf(".so.");
>                         fileName = fileName.substring(0, extAt + 3);
>                     }
>                     uri = new Path(path.toString() + "#" + fileName).toUri();
>                     uri = new URI(uri.getPath());
>                 }
> The following things should work in <file> tag.
> 1. a.so.1 to be linked as a.so.1
> 2. a.so.1#b.so to be linked as b.so
> 3.  a.so#a.so should be linked as a.so
> 4. a.so should be linked as a.so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira