Installing SystemML from MVN/GitHub? - r

SystemML is available on https://github.com/SparkTC/systemml
How do I get it started with? I am newbie to GitHub.
I created a directory in my Ubuntu and copied the POM.xml file - when I issued mvn clean package, I am getting the error:
mvn clean package
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error
[ERROR] Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
When I went to R and issued the following command on R 64 bit ver 3.1.1, I got error too:
> install.packages(c("batch", "bitops", "boot", "caTools", "data.table", "doMC", "doSNOW", "ggplot2", "glmnet", "lda", "Matrix", "matrixStats", "moments", "plotrix", "psych", "reshape", "topicmodels", "wordcloud", "methods"), dependencies=TRUE)
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/3.1
Warning: package ‘methods’ is in use and will not be installed
Warning message:
packages ‘batch’, ‘bitops’, ‘boot’, ‘caTools’, ‘data.table’, ‘doMC’, ‘doSNOW’, ‘ggplot2’, ‘glmnet’, ‘lda’, ‘Matrix’, ‘matrixStats’, ‘moments’, ‘plotrix’, ‘psych’, ‘reshape’, ‘topicmodels’, ‘wordcloud’ are not available (for R version 3.1.1)
>

The error message you received tells you what the problem is (formatting mine):
The project com.ibm.systemml:systemml-parent:5.2-SNAPSHOT (/home/vmuser/system-ml/pom.xml) has 1 error
Child module /home/vmuser/system-ml/system-ml of /home/vmuser/system-ml/pom.xml does not exist
You said:
I created a directory in my Ubuntu and copied the POM.xml file
You don't just need the pom.xml file; you need the whole project. Either git clone it or download the source as a zip and extract it, then run mvn clean package from the project directory.
git clone is a better option if you intend to modify the source code. It will give you some powerful tools for integrating upstream changes and for submitting your modifications to the parent project. If you just want to use the project as-is, either option should be fine.

SystemML became an Apache (incubating) project in November of 2015. Its main website is located at http://systemml.apache.org/. The project can now be found on GitHub at https://github.com/apache/incubator-systemml.
Probably the quickest way to get started with Apache SystemML is to download a pre-built release package from the Apache SystemML Downloads page (see the main website). Information about Apache SystemML can be found at the Apache SystemML Documentation site, which is linked to from the main site. This includes information about running SystemML in notebooks, on Spark, and on Hadoop.
If you would like to clone the SystemML repository and build it locally with Maven, instructions to do so can be found in the project README on GitHub.

Related

Pivotal .NetCore 3.1 dotnet-runtime Error During Deployment

I want to deploy my project using Pivotal from Bamboo. During the deployment of my .NetCore 3.1 project, I'm getting the error "Unable to install dotnet-runtime: could not find a version of dotnet-runtime to install". The deployment stack is set to cflinuxfs3.
I've tried specifying dotnet runtime version (3.1 and 3.1.5) in .csproj file but it got the same error so I removed it.
I've also created a buildpack.yml file and specified the .netcore sdk version as 3.1.x in there.
I'm sharing the property group from csproj and the manifest.yml file.
-- Error Log --
Downloading app package...
Downloaded app package (6.4M)
-----> Dotnet-Core Buildpack version 2.3.12
-----> Supplying Dotnet Core
-----> Installing libunwind 1.4.0
Copy[/tmp/buildpacks/b7bd2a36eb284e204524c677d2dbbfa2/dependencies/a54cfafce3d2a14e4f96777d5fd471f4/libunwind_1.4.0_linux_noarch_cflinuxfs3_05e08b22.tgz]
using the default SDK
-----> Installing dotnet-sdk 3.1.301
Copy[/tmp/buildpacks/b7bd2a36eb284e204524c677d2dbbfa2/dependencies/b422801667458a262ba26a3117b93e4f/dotnet-sdk_3.1.301_linux_x64_any-stack_80a771e4.tar.xz]
-----> Installing dotnet-runtime 3.1.5
Copy[/tmp/buildpacks/b7bd2a36eb284e204524c677d2dbbfa2/dependencies/40b5a460524fe7f1795c876445349a31/dotnet-runtime_3.1.5_linux_x64_any-stack_1aa84612.tar.xz]
-----> Finalizing Dotnet Core
ERROR Unable to install dotnet-runtime: could not find a version of dotnet-runtime to install Failed to compile droplet: Failed to
run finalize script: exit status 12 Exit status 223 Cell
ffe536bc-374c-46b5-a620-e3366dab6b22 stopping instance
b71ecb48-0083-4fd1-8f59-3a77b05de0e0
Error staging application: App staging failed in the buildpack compile
phase
-- .csproj --
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<IsTransformWebConfigDisabled>true</IsTransformWebConfigDisabled>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>
-- manifest.yml --
---
applications:
- name: projectName
memory: 1G
timeout: 240
instances: 1
routes:
- route: routeAddress
services:
- ARCHITECTURE.SERVICES-TST.ServiceRegistry
- ProjectName.Redis
- ProjectName.Dynatrace
- ProjectName.ConfigServer
env:
DT_TAGS: ((appName)) ((dc))-((env))
TZ: country
ASPNETCORE_ENVIRONMENT: environmentName
SPRING_CLOUD_CONFIG_LABEL: configLabel
Ok, here's what is happening.
The code is looking at the RuntimeFrameworkVersion in your .csproj file.
When that is empty, it's going to look at the TargetFramework and attempt to find a substring match using the regex netcoreapp(.*).
It is expecting that to have a single match, but in your case it does not, so you get that error message: could not find a version of dotnet-runtime to install.
Based on your .csproj file, it seems like what you have should be OK though. I did a quick check and the regex works and returns the version.
You could try setting RuntimeFrameworkVersion which would take a slightly different code path and might work for you.
You are trying to perform a source-based deployment. You could try dotnet publish first followed by a Framework Dependent Deployment which again would force a different code path.
It might be that the buildpack isn't finding your file, but it's hard to say without more info.

Error on build command in .NET Core (no such host is known)

I'm making a basic console Application in .NET Core and when I try to run the command "dotnet build -c release -r win10-x64" I get this:
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.WindowsDesktop.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.AspNetCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.WindowsDesktop.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
Retrying 'FindPackagesByIdAsyncCore' for source 'http://packagesource/FindPackagesById()?id='Microsoft.AspNetCore.App.Runtime.win-x64'&semVerLevel=2.0.0'.
No such host is known.
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : Failed to retrieve information about 'Microsoft.NETCore.App.Runtime.win-x64' from remote source 'http://packagesourc
e/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : No such host is known. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
Build FAILED.
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : Failed to retrieve information about 'Microsoft.NETCore.App.Runtime.win-x64' from remote source 'http://packagesourc
e/FindPackagesById()?id='Microsoft.NETCore.App.Runtime.win-x64'&semVerLevel=2.0.0'. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
C:\Program Files\dotnet\sdk\3.1.201\NuGet.targets(124,5): error : No such host is known. [C:\Users\steve\PlatziCSharp\PlatziCSharp.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:08.30## Heading ##
It seems that it missing some dependencies, I'm really new on this and I couldn't find any answer online
Anyone can help me how can I install what I'm missing?
In the past I tried to do another .NET Core project but this same error appeared and I drop it, this is so frustrating.
On Tools > Options... > NuGet Package Manager > package Sources,
add a package source by source https://api.nuget.org/v3/index.json
On tools > NuGet Package Manager > Package Manager Console enter dotnet restore command.
On Tools > Options... > NuGet Package Manager > package Sources, add
a package source by source https://api.nuget.org/v3/index.json
Restart Visual studio and reload your solution/project

While doing fixpack upgrade from 8.5.5.0 to 8.5.5.13 failing with CRIMA1161E ERROR

I have downloaded the fix pack from below URL.
https://www-945.ibm.com/support/fixcentral/swg/downloadFixes?parent=ibm%2FWebSphere%E2%88%8Fuct=ibm/WebSphere/WebSphere+Application+Server&release=All&platform=All&function=fixId&fixids=8.5.5-WS-WAS-FP013-part3,8.5.5-WS-WAS-FP013-part2,8.5.5-WS-WAS-FP013-part1%E2%88%88cludeRequisites=1%E2%88%88cludeSupersedes=0&downloadMethod=http&login=true
Upgrade Version - From WebSphere 8.5.5.0 to 8.5.5.13
While running the imcl command i have faced below error. Can someone please suggest what could cause this isssue?
# ./imcl install com.ibm.websphere.BASE.v85_8.5.5013.20180112_1418 -repositories /data/repo/repository.config -installationDirectory /appl/IBM/WebSphere/AppServer/ -acceptLicense -showProgress
25% 50% 75% 100%
------------------|------------------|------------------|------------------|
............................................................................
ERROR: Failed to find required installation files.
CRIMA1161E ERROR: Failed to find required installation files.
Explanation: Installation Manager did not find required installation files from the repository. An issue has occurred with the package that cannot be resolved by Installation Manager.
User Action: If the repository files were transferred from a different location before the installation, verify that the files were not altered during the transfer operation. Copy the repository files to a different location and install from that location. If the repository files were not transferred note the package name and version number and contact customer support.
ERROR: 'plug-in com.ibm.was.detect.offering.update.v85_8.5.0.20120308_0100' not found in /data/repo.
ERROR: 'plug-in com.ibm.was.detect.backlevel.jdk.ifix_8.0.2.20120308_0004' not found in /data/repo.
ERROR: 'plug-in com.ibm.was.determine.job.type_8.5.0.20120326_1010' not found in /data/repo.
Looks like you have old repositories enabled in Installation Manager preferences, for which the installation files are missing.
Try below steps to resolve this issue:
If you can enable GUI, Open IM, go to File > preferences >
Repositories. Do a test connection for all enabled repositories and
uncheck/disable repositories that are not working/you no longer
read.
If you cannot enable GUI, there are 2 options
Modify com.ibm.cic.agent.core.prefs file in order to enable/disable repositories (default location in linux:
/var/ibm/InstallationManager/.settings/com.ibm.cic.agent.core.prefs)
Enable/Disable repositories using 'imcl -c' command line https://www.ibm.com/support/knowledgecenter/SSDV2W_1.8.5/com.ibm.cic.agent.console.doc/topics/t_console_pref_repository.html#remove_rep
Once old repositories for which installation files are missing are disabled, try installing the fixpack again.

building oozie: Unknown host repository.codehaus.org

I'm trying to build Oozie 4.2.0 downloaded from here: http://ftp.cixug.es/apache/oozie/4.2.0/oozie-4.2.0.tar.gz
After launching the build
bin/mkdistro.sh -DskipTests
I'm getting this error:
[ERROR] Failed to execute goal on project oozie-core: Could not resolve dependencies for project org.apache.oozie:oozie-core:jar:4.2.0: Could not transfer artifact org.apache.hbase:hbase:jar:1.1.1 from/to Codehaus repository (http://repository.codehaus.org/): Unknown host repository.codehaus.org
From what I'm seeing on the Internet, codehause repository is not available any more. Is there a way to build Oozie without it?
Just for the sake of helping people seeing this question in the future , you can resolve this through backing up this repo source with another source
The Codehaus hosting platform was ended, i.e., their public Maven repository is gone, too. You should try to follow their advice and add the following to your ~/.m2/settings.xml file:
<repositories>
<repository>
<id>Codehaus repository</id>
<name>codehaus-mule-repo</name>
<url>https://repository-master.mulesoft.org/nexus/content/groups/public/
</url>
<layout>default</layout>
</repository>
</repositories>
This should use a backup repository to get the missing dependency.
Source : Missing dependency hive-builtins causes build failure with error code 410 for Oozie

Issues in building BoneCP using maven

I downloaded the latest BoneCP source code from following Github URL:
https://github.com/wwadge/bonecp/archive/master.zip
When I try to build this source using maven there are some issues in compiling
bonecp-hbnprovider module. Initially I was getting the following error:
Non-resolvable parent POM: Could not find artifact com.jolbox:bonecp-parent:pom:0.8.0-rc1-SNAPSHOT and 'parent.relativePath' points at wrong local POM # line 19, column 13 -> [Help 2]
After changing 0.8.0-rc1-SNAPSHOT to 0.8.0-rc2-SNAPSHOT in the pom.xml of bonecp-hbnprovider I am getting the following error:
[ERROR] Failed to execute goal on project bonecp-provider: Could not resolve dependencies for project com.jolbox:bonecp-provider:bundle:0.8.0-rc2-SNAPSHOT: Could not find artifact com.jolbox:bonecp:jar:0.8.0-rc2-SNAPSHOT in spring-milestone (http://s3.amazonaws.com/maven.springframework.org/milestone) -> [Help 1]
Please let me know how to resolve this issue?
What's the command you're using? Try with: mvn clean install

Resources