Apache Zeppelin not working with https for maven repo - maven

I'm running Apache Zeppelin 0.8.0 in Amazon EMR. Recently the spark interpreter started to fail to pull down library dependencies. This was because the zeppelin.interpreter.dep.mvnRepo configuration parameter was set to http://repo1.maven.org/maven2/ and the maven repo has recently stopped supporting http as outlined here: https://support.sonatype.com/hc/en-us/articles/360041287334
As per the maven documentation I updated the value of this parameter to https://repo1.maven.org/maven2/ but this didn't resolve the issue. Instead updating the value to http://insecure.repo1.maven.org/maven2/ fixed the problem.
It seems like Zeppelin is not working with https for the maven repo. Can anyone confirm if this is the case or is some extra set up required to get this working?

I was having issues pulling down library dependencies on Zeppelin 0.8.2 with zeppelin.interpreter.dep.mvnRepo set to http://repo1.maven.org/maven2/ like you mentioned, but for me it works with zeppelin.interpreter.dep.mvnRepo set to https://repo1.maven.org/maven2/ only if I set the spark.jars.packages property in the Zeppelin interpreter GUI to the groupId:artificaftId:version for the library I was trying to pull.

Related

Apache Ignite Nifi Integration

I am trying to create/use an apache ignite cache in nifi. I am using version 1.13.2 of nifi and i cannot find the PutIgniteCache and GetIgniteCache options. Please can someone assist me. Does this version support ignite?
https://cwiki.apache.org/confluence/display/NIFI/Migration+Guidance
Migrating from 1.12.x to 1.13.x
Removed the following nar(s) from the convenience build. They are still built and made available in maven repositories so you can add them to your deployment lib folder and use them if you like. They include; nifi-livy-nar, nifi-livy-controller-service-api-nar, nifi-kafka-0-11-nar, nifi-beats-nar, nifi-ignite-nar
so, it's removed from nifi installation but you could download nar file from maven repo and put it into lib directory to make processors available
https://search.maven.org/artifact/org.apache.nifi/nifi-ignite-nar/1.13.2/nar

Not able to download maven dependencies in Apache Zeppelin notebook

Receiving the following error on trying to download a maven dependency in Apache Zeppelin notebook-
Error setting properties for interpreter 'spark.spark': Cannot fetch dependencies for org.apache.commons:commons-csv:1.8
Thanks.

How to migrate from Jenkins-core version 1.580.3 to 2.X

I have a jenkins plugin created with version 1.580.3 which is made to a hpi file and uploaded to jenkins.Now that I need to migrate to jenkins 2.X version I was not able to do that.Currently am using jenkins-core ,jenkins-war,jenkins-test-harness set to 1.580.3 .Now when I migrate to version 2.X I was able to correct my unit tests but my integration tests are failing saying null pointer exception .no class definition found error in JenkinsRule.class and FreeStylePrject.class when version is set to 2.0.
No links could save me.CAn someone guide me here?
Any help is appreciated
"No class definition found error" is most probably due to a missing plugin or an incompatible one with your 2.x version. Check in the update center (Manage Jenkins > Manage Plugins) on your Jenkins server if a compatible version of your 1.580.3 plugin is available.
When we are doing Jenkins upgrade, we always make a backup. Then we update the war file, update all compatible plugins and restore the backup if the upgrade is unsuccessful.

Importing old Play 2.3.4 project into IntelliJ gives SERVER ERROR: HTTPS Required

When importing a Play project (Play 2.3.4, Scala 2.11.4, sbt 0.13.5) into IntelliJ IDEA I get the following error message:
SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/jline/jline/2.11/jline-2.11.pom
According to the latest IntelliJ docs, only Play versions 2.4 and later are supported. So I downloaded an old IntelliJ version from 2016 (2016.2.5), which should have worked because the project was in active development with this IDE version back then. After finding a this article stating the Maven repo has deprecated http in favor of https, I'm not sure if the IntelliJ version mismatch is even the cause of this issue. However, the build was ok in 2016, and now I cannot fix this problem even if I create a settings.xml for Maven as described here... I still get the same error. I also tried to enable the "Override" setting in IntelliJ->Preferences->Build->Build Tools->Maven->User Settings File and pointed it to a settings.xml copy in a different folder. In both IntelliJ versions (2019.3.3 and 2016.2.5) I installed the Scala plugin directly in the IDE.
What am I doing wrong? How can I get IntelliJ to use the mirrors from my custom settings.xml?
Command-line already ran only by overriding the sbt repository as shown in this answer, IDE-based build still didn't recognize this file.
Finally solved it by bumping the sbt version at least one minor version up, to >=0.13.6 (source), from then on sbt itself uses a secure connection to the Maven repository.

Installing GeoMesa Cassandra in GeoServer

i recently started working with geomeas and cassandra database, i started using this quickstart guide: https://www.geomesa.org/documentation/tutorials/geomesa-quickstart-cassandra.html
in the visualize using geoserver section, for installing geomesa in cassandra, i downloaded the plugin and extracted the files in the required directory, but still cant see the cassandra geomesa vector datasource in the geoserver..
GeoMesa currently targets GeoServer 2.12.x, try using that version.
The problem is solved after i copied only the jars inside the lib folder of the plugin and paste them with the jars of the Geoserver in the WEB-INT/lib directory

Resources