You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Jonathan Smith (JIRA)" <ji...@apache.org> on 2016/02/17 16:25:18 UTC

[jira] [Comment Edited] (FLUME-2881) Windows Launch Script fails

    [ https://issues.apache.org/jira/browse/FLUME-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150638#comment-15150638 ] 

Jonathan Smith edited comment on FLUME-2881 at 2/17/16 3:24 PM:
----------------------------------------------------------------

Thanks for testing Roshan.

The only difference is my CLRVersion: 4.0.30319.34014 on Windows 8.1 Pro N

I've done some additional testing and it appears the script fails *when there are plugins included*, and works fine when there are no JAR files in the plugins.d directory. Try placing some additional JARs in plugins.d/jsmith/lib/ in the package folder and the error appears.

I downloaded the binary flume package from here: http://www.apache.org/dyn/closer.lua/flume/1.6.0/apache-flume-1.6.0-bin.tar.gz and used that for testing.


was (Author: jonathansmith):
Thanks for testing Roshan.

The only difference is my CLRVersion: 4.0.30319.34014 on Windows 8.1 Pro N

I've done some additional testing and it appears the script fails when there are plugins included, and works fine when there are no JAR files in the plugins.d directory. Try placing some additional JARs in plugins.d/jsmith/lib/ in the package folder and the error appears.

I downloaded the binary flume package from here: http://www.apache.org/dyn/closer.lua/flume/1.6.0/apache-flume-1.6.0-bin.tar.gz and used that for testing.

> Windows Launch Script fails
> ---------------------------
>
>                 Key: FLUME-2881
>                 URL: https://issues.apache.org/jira/browse/FLUME-2881
>             Project: Flume
>          Issue Type: Bug
>          Components: Configuration, Windows
>    Affects Versions: v1.6.0
>         Environment: Tested on Windows 7 and Windows 8
>            Reporter: Jonathan Smith
>              Labels: easyfix, patch, windows
>         Attachments: fix_windows_launch.patch, op-addition-not-found.log
>
>
> Running flume-ng.cmd results in the attached error from the Windows command line.
> The problem seems to originate in flume-ng.ps1, line 323 where the plugins are added to the class path. Adding together directory information does not seem to be supported on windows 7 or 8. I was able to fix the problem by separating out the two plugin directories in the attached patch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)