Error While generating pig-eclipse files (Building Apache Pig from Source) - apache-pig

ran the following commands successfully.
git clone -b spark https://github.com/apache/pig
ant -Dhadoopversion=23
However it gives me an error while generating eclipse files
ant clean eclipse-files
Error Stack Below
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-common;1.0.4: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-client;1.0.4: not found
[ivy:resolve] :: org.apache.hadoop#hadoop-yarn-api;1.0.4: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Full Stack Trace link
https://gist.github.com/krishnakalyan3/b1a5c024c81ac5d211d6

Current trunk generates the Eclipse files. But now Eclipse has problems. I opened PIG-4520 to discuss.

Related

I cannot install mssql-server

I cannot install mssql-server, because I have a newer version of libldap-2.6.0-2.
makepkg -sirc  ✔
==> Making package: mssql-server 15.0.4188.2-3 (24 ينا, 2022 02:49:39 م)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: libldap<=2.4.59
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> libldap<=2.4.59
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
error: failed to prepare transaction (could not satisfy dependencies)
When I try to remove libldap-2.6.0-2. I got this error message:
:: removing libldap breaks dependency 'libldap' required by krb5
:: removing libldap breaks dependency 'libldap' required by lib32-libldap
:: removing libldap breaks dependency 'libldap' required by nfsidmap
:: removing libldap breaks dependency 'libldap' required by smbclient
:: removing libldap breaks dependency 'libldap' required by sudo
You have to install libldap24:
Here is the Arch Linux User Repository
Every time you have missing dependencies you can install them by yourself.

react-native build failed (run-ios)

I try to pass from CRNA to React-Native application with native code. When i build with react-native run-ios, the build failed and i don't know what to do!
** BUILD FAILED **
The following build commands failed:
CompileC /Users/Karl/Documents/Applications/MyItems51Work/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/raw_logging.o /Users/Karl/Documents/Applications/MyItems51Work/node_modules/react-native/third-party/glog-0.3.4/src/raw_logging.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/MyItems.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MyItems.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Linking issues is usually misleading, and not easy to debug:
this question has very good practices to avoid these kind of issues.

Random 403 error during resolving packages on Artifactory

We use Artifactory Pro.
We have a virtual repo in which we've stored the installer of yarn 23.04.
On another instance we have running a Jenkins 1 server. We have some maven project and our maven goal is to perform:
clean source:jar install -DskipTests -Pyarn -X
We use the profile yarn so a yarn install will be executed.
We are not using any proxy about our configuration. We have turned them off explicitly
Most of the time the jenkins job works:
[INFO] yarn install v0.23.4
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[ERROR] warning fsevents#1.1.1: The platform "linux" is incompatible with this module.
[INFO] info "fsevents#1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [3/4] Linking dependencies...
[ERROR] warning "ng2-translate#5.0.0" has incorrect peer dependency "#angular/core#^2.0.0".
[ERROR] warning "ng2-translate#5.0.0" has incorrect peer dependency "#angular/http#^2.0.0".
[ERROR] warning "sass-loader#6.0.5" has incorrect peer dependency "webpack#^2.0.0".
[INFO] [4/4] Building fresh packages...
[INFO] success Saved lockfile.
But on certain occasions it fails:
[INFO] yarn install v0.23.4
[INFO] [1/4] Resolving packages...
[ERROR] an unexpected error occurred: "http://xxx/artifactory/api/npm/npm/xxx: Request\ "http://xxx/artifactory/api/npm/npm/xxx" returned a 403
The yarn is in our artifactory. So we think the only issue can be a 'bad connection' between jenkins and Artifactory or the apache which is running above Artifactory.
Is there some specific setting in Apache that could cause this behaviour of Artifactory?

Error building 0.9.1 release of red5

I'm trying to build the 0.9.1 release of red5.
I checked out
svn co http://red5.googlecode.com/svn/java/server/tags/0_9_1
cd 0_9_1
ant
But I receive the folloing error.
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: commons#commons-modeler;2.0.1: not found
[ivy:resolve] :: commons#commons-httpclient;3.1: not found
[ivy:resolve] :: red5#xmlrpc;2.0.1: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
How to solve this error ?
Thank you a lot for any help,
Update the ivy.xml to reflect changes in the dependencies. Here is where you can find the first one and search for the others:
http://mvnrepository.com/artifact/commons-modeler/commons-modeler/2.0.1
Click on the ivy tab.

Grails error installing searchable plugin

When I try to install the searchable plugin in a grails app, I'm told that grails can't resolve the following dependencies:
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.grails.plugins#searchable;0.6.3: java.lang.NullPointerException at org.apache.ivy.plugins.resolver.AbstractResolver.initRepositoryCacheManagerFromSettings(AbstractResolver.java:396)
::::::::::::::::::::::::::::::::::::::::::::::
Grails version is 2.0.3
What can i do?
Are you trying to install it from a zip file? This might be caused by GRAILS-9006, which prevents plugins from being installed via a local directory, to be fixed in Grails 2.0.4.
Try uncommenting the mavenCentral line in BuildConfig.groovy then try the install-plugin again.
//mavenLocal()
mavenCentral()
//mavenRepo...