Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0
-
None
-
None
-
Windows 8
Description
Error:
C:\...\flume-ng.ps1 : The term 'ss' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + .\bin\flume-ng.ps1 agent -n Flume_Test_Agent -f conf\flume-conf.properties.templ ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (ss:String) [flume-ng.ps1], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,flume-ng.ps1
Fix: Remove the 'ss' on line 169:
... Function GetJavaPath { if ($env:JAVA_HOME) { return "$env:JAVA_HOME\bin\java.exe" }ss Write-Host "WARN: JAVA_HOME not set" return '"' + (Resolve-Path "java.exe").Path + '"' } ...
Work-around: Remove the ss on line 169 manually in the powershell script and try again.
Attachments
Attachments
Issue Links
- is broken by
-
FLUME-1334 Write an startscript for flume agents on Windows
- Resolved