Hi I keep on encountering the follow error when running conf in flume via flume-ng at line 189 Any possible solutions

0 votes
Running FLUME agent :
    class: org.apache.flume.node.Application
    arguments: -n agent1 -f "C:\Flume\apache-flume-1.9.0-bin\conf\spooler.conf"

Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At C:\Flume\apache-flume-1.9.0-bin\bin\flume-ng.ps1:189 char:10
+     $x = Start-Process $javaPath -ArgumentList "$fullJavaCommand" -Wa ...
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
related to an answer for: Need help installing Flume on Windows
Apr 23, 2020 in Big Data Hadoop by anonymous
• 120 points
1,524 views
Which command you are trying, can you share?

Hey, @Jiayu,

I think this error will go if you work with the WorkingDirectory parameter. Would you please provide the start-process statement pr credentials you have used?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hello,

I am also getting the same error

 I typed this command flume-ng version to check the version of flume but it shows this error.

C:\apache-flume-1.6.0-bin\bin>flume-ng version

C:\apache-flume-1.6.0-bin\bin>powershell.exe -NoProfile -InputFormat none -ExecutionPolicy unrestricted -File C:\apache-flume-1.6.0-bin\bin\flume-ng.ps1 version

WARN: Config directory not set. Defaulting to C:\apache-flume-1.6.0-bin\conf
Sourcing environment configuration script C:\apache-flume-1.6.0-bin\conf\flume-env.ps1
Including Hadoop libraries found in (C:\hadoop-3.1.4) for DFS access
WARN: HBASE_HOME not found
WARN: HIVE_HOME not found

  Running FLUME version :
    class: org.apache.flume.tools.VersionInfo
    arguments:

Start-Process : This command cannot be run due to the error: The system cannot find the file specified.
At C:\apache-flume-1.6.0-bin\bin\flume-ng.ps1:189 char:10
+     $x = Start-Process $javaPath -ArgumentList "$fullJavaCommand" -Wa ...
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
    + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand

Can you please tell how to fix it??

answered Apr 28, 2021 by anonymous

edited Mar 5

Related Questions In Big Data Hadoop

0 votes
1 answer

How can I get the respective Bitcoin value for an input in USD when using c#

Simply make call to server and parse ...READ MORE

answered Mar 25, 2018 in Big Data Hadoop by charlie_brown
• 7,720 points
1,219 views
0 votes
1 answer
0 votes
2 answers

How can I list NameNode & DataNodes from any machine in the Hadoop cluster?

You can browse hadoop page from any ...READ MORE

answered Jan 23, 2020 in Big Data Hadoop by MD
• 95,460 points
11,830 views
0 votes
1 answer

How can I use my host machine’s web browser to check my HDFS services running in the VM?

The sole purpose of the virtual machine ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by Shubham
• 13,490 points
1,676 views
+1 vote
1 answer
0 votes
1 answer
0 votes
0 answers

How I can kill the jobs using jobID running in local mode with Hadoop

I am Running hadoop jobs in local ...READ MORE

Aug 26, 2020 in Big Data Hadoop by kamboj
• 140 points
2,451 views
0 votes
1 answer

Error running hadoop mapreduce in Python using Hadoop Streaming

Hi As you write mapper and reducer program  ...READ MORE

answered Jan 21, 2020 in Big Data Hadoop by anonymous
2,751 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP