Installing Hadoop2.7.0 on Windows7 - windows

I am trying to install Hadoop on Windows7 and I am getting some maven error. I am following this link for Hadoop installation
http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os.
I am getting error on the (g). step of the link above. I am not able to attach the image. But I have written what the error says below.
I get error when I try to run this command:
mvn package -Pdist,native-win -DskipTests -Dtar
and the error is:
The requested profile "dist" could not be activated because it does not exist.
The requested profile "native-win" could not be activated because it does not exist.
The goal you specified requires a project to execute but there is no POM in this directory. Please verify you invoked Maven from correct directory.
Can someone please help me with this error.

Related

Cypress Error after running open command...'error loading V8 startup snapshot file'. I'm not able to run cypress then

The exact error is:
[0328/091115.205:FATAL:v8_initializer.cc(447)] Error loading V8 startup snapshot file
Could you please help to fix and be able to use Cypress?
I tried (steps):
First: C:/inetpub/wwwroot/cypress-example>npm install
Second: C:/inetpub/wwwroot/cypress-example>npx cypress run
(both command using cmd.exe as administrator permission and I was running it in the file of the website example that I criated...C:/inetpub/wwwroot/cyrpress-teste)
exact error bellow:
Cypress failed to start.
This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies
Please refer to the error below for more details.
[0328/091115.205:FATAL:v8_initializer.cc(447)] Error loading V8 startup snapshot file
Platform: win32-x64 (10.0.19044)
Cypress Version: 9.5.2
I got the same error in cypress v9.5.4
Solved this by installing older version.
Just uninstall the current version, write "cypress": "^8.4.1" and run npm i

Why do I get rat error while regarding two unapproved license while installing Ambari 2.7.5?

I am trying to install ambari 2.7.5 on centos 7. I am following the instructions given on this link. When I run the mvn install commad as mentioned in the link. It fails with a rat error that 2 unapproved licenses were found. I downloaded the ambari source from apache site. Then how come I did not get proper license?
#VK Here is the full command you need to skip the drat checks:
mvn -Drat.skip=true -B clean install rpm:rpm -DnewVersion=2.7.5.0.0 -DbuildNumber=5895e4ed6b30a2da8a90fee2403b6cab91d19972 -DskipTests -Dpython.ver="python >= 2.7"
and here is the skip drat argument:
-Drat.skip=true
If you attempt to build a clean install multiple times with failures you will hit the drat license limit and it will require the drat skip. One way to avoid is to follow the maven suggestion to resume the build from the last failure.
mvn <args> -rf [Failed Step]

Scrapinghub deployment error: non-exit status 1

i get this error mesage when I try to deploy my project and I really do not understand why:error log
shub is unable to build the Python egg of your project. This could be related to a misconfigured setup.py. Try running the 'build egg' command yourself so you can take a look at the error message: python setup.py clean -a bdist_egg -d temp_directory (run it in your project directory).
If you don't have any custom/important code in your setup.py, you can try deleting it, and shub will auto-generate a vanilla one on the next deploy.

Error -60005 when install Cocos2d-iPhone v3 RC4

When I try to install Cocos2d-iphone 3.0.0 RC4, I got an error: (run without sudo)
Error -60005 occurred while executing script with privileges.
So, I try to show its package content and use terminal to do: cd ...Cocos2D Installer 3.0.0.app/Contents/MacOS
I try this command: (with sudo)
sudo ./Cocos2D\ Installer\ 3.0.0
It works but I got log with some errors:
[1m>>> Installing Cocos2D-v3.0.0 files (B[m
[1m>>> Installing Cocos2D-v3.0.0 templates (B[m
[4m[1mCocos2D Template Installer (Cocos2D-v3.0.0)(B[m
Error: [31m✖︎(B[m Script cannot be executed as root.
In order for it to work properly, please execute the script again without 'sudo'.
If you want to know more about how to use this script execute '/Users/viethung/Downloads/Cocos2D-v3.0.0/install.sh --help'.
[1m>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute.... (B[m
appledoc version: 2.2 (build 963)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Xcode got an error: No documentation set present at specified path.
[1m>>> Cocos2D-v3.0.0 installation complete! (B[m
Are there any way is better than this way?
I have same problem.
I think you installed old cocos2d-iphone and it caused this problem.
You should remove old cocos2d-iphone first. I removed:
~/Library/Developer/Xcode/cocos2d v3.x
And install again. It works for me.
Hope it works for you :)

Jenkins: "Failed to launch Maven" Error

I get the following error in Jenkins. I'm using Maven 3.0.4. Running on a Linux slave. Anyone have any solutions?
Error: Could not find or load main class org.jvnet.hudson.maven3.agent.Maven3Main
ERROR: Failed to launch Maven. Exit code = 1
The solution was not even related to the error message I was seeing. But nonetheless, I had a step where I install custom tools using the custom tools plugin. I never used the tools, but just installed them. And this gave me the above error.

Resources