[Structured Streaminig] multiple queries in one application

2020-04-29 Thread lec ssmi
Hi: I run a lot of queries in one spark structured streaming application. I found that when one query fails, other queries can continue to run. But there is no abnormal information.So the queries are getting less and less, and we can't find the reason. Is there any good solution for this

Spark job stuck at s3a-file-system metrics system started

2020-04-29 Thread Aniruddha P Tekade
Hello, I am trying to run a spark job that is trying to write the data into a custom s3 endpoint bucket. But I am stuck at this line of output and job is not moving forward at all - 20/04/29 16:03:59 INFO SharedState: Setting hive.metastore.warehouse.dir ('null') to the value of

Trump and modi butcher of Gujarat as Allies. Modi was banned to enter by US courts

2020-04-29 Thread James Mitchel

What is a VPN ? freedom from natzi owen censorship

2020-04-29 Thread James Mitchel

https://www.lausanne.org/content/lga/2019-05/the-rise-of-hindu-fundamentalism?gclid=Cj0KCQjwy6T1BRDXARIsAIqCTXpmVG-8QJwiOSTVH8fkhRXj3QXUufApRXbPJUTpLlZ4f4wWgFNlPVkaAndGEALw_wcB

2020-04-29 Thread James Mitchel
https://globalnews.ca/news/6823170/canadian-politicians-targeted-indian-intelligence/ Natzi Owen of Apache.org and two hindutwa against me.Characters who stole last remaining dignity from Apache tribe.Allies蘿 Abusing me A price. Worth paying. I will chose different technology to put bread on

Re: Filtering on multiple columns in spark

2020-04-29 Thread Edgardo Szrajber
Maybe create a column with "lit" function for the variables you are comparing against.Bentzi Sent from Yahoo Mail on Android On Wed, Apr 29, 2020 at 18:40, Mich Talebzadeh wrote: The below line works   valc =

Re: Filtering on multiple columns in spark

2020-04-29 Thread Mich Talebzadeh
The below line works val c = newDF.withColumn("target_mobile_no", col("target_mobile_no").cast(StringType)). filter("length(target_mobile_no) != 10 OR substring(target_mobile_no,1,1) != '7'") But not the following when the values are passed as parameters val rejectedDF =

Re: Lightbend Scala professional training & certification

2020-04-29 Thread Som Lima
I think I am going to focus on spring boot and apache camel. I'll do Apache spark in the back ground. So see you. I am going to unsubscribe here. On Wed, 29 Apr 2020, 13:58 Som Lima, wrote: > The end value is important for me. > > I think certification in commercial framework is most

Re: On spam messages

2020-04-29 Thread Deepak Sharma
Much appreciated Sean. Thanks. On Wed, 29 Apr 2020 at 6:48 PM, Sean Owen wrote: > I am subscribed to this list to watch for a certain person's new > accounts, which are posting obviously off-topic and inappropriate > messages. It goes without saying that this is unacceptable and a CoC >

On spam messages

2020-04-29 Thread Sean Owen
I am subscribed to this list to watch for a certain person's new accounts, which are posting obviously off-topic and inappropriate messages. It goes without saying that this is unacceptable and a CoC violation, and anyone posting that will be immediately removed and blocked. In the meantime,

Re: Lightbend Scala professional training & certification

2020-04-29 Thread Som Lima
The end value is important for me. I think certification in commercial framework is most valuable for me. What is free is the access to the framework. That is invaluable. In the past Access to commercial frameworks was not possible . One could only get it if a company sent you. This involved

Re: Filtering on multiple columns in spark

2020-04-29 Thread Mich Talebzadeh
OK how do you pass variables for 10 and '7' val rejectedDF = newDF.withColumn("target_mobile_no", col("target_mobile_no").cast(StringType)). filter("length(target_mobile_no) != 10 OR substring(target_mobile_no,1,1) != '7'") in above in Scala. Neither $ value below or lit()

Re: Lightbend Scala professional training & certification

2020-04-29 Thread Mich Talebzadeh
I don't think that will be free! Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw * http://talebzadehmich.wordpress.com *Disclaimer:* Use it at

Re: Lightbend Scala professional training & certification

2020-04-29 Thread Som Lima
Is there a databricks or other professional certification for Apache Spark ? On Wed, 29 Apr 2020, 11:29 Mich Talebzadeh, wrote: > Hi, > > Has anyone had experience of taking training courses with Lightbend > training on Scala > > I believe they are

Re: OFFICIAL USA REPORT TODAY India Most Dangerous : USA Religious Freedom Report out TODAY

2020-04-29 Thread akshay naidu
Today, entire Indian nationals are mourning for the demise of Irfan Khan, A true Indian Muslim. And this idiot Zahid Amin or whoever created this bot(not sure if its a bot or something) spreading rumors about India. Rights given to Muslims in India are much open then any other Muslim majority

Lightbend Scala professional training & certification

2020-04-29 Thread Mich Talebzadeh
Hi, Has anyone had experience of taking training courses with Lightbend training on Scala I believe they are offering free Scala courses and certifications. Thanks, Dr Mich Talebzadeh LinkedIn *

Spark 3 Release

2020-04-29 Thread Michael Edwards
Hi, We’re using Spark 2.4.5 in our project with Java 1.8. We wanted to upgrade to Java 11 but it seems we need to upgrade to Spark 3 to make this possible. I’ve tried it with v3.0.0-preview2 but wanted to ask if there was a release due in the near future. Regards, MIke -- Michael Edwards

Re: [Structured Streaming] NullPointerException in long running query

2020-04-29 Thread ZHANG Wei
Is there any chance we also print the least recent failure in stage as the following most recent failure before Driver statcktrace? > >> Caused by: org.apache.spark.SparkException: Job aborted due to stage > >> failure: Task 10 in stage 1.0 failed 4 times, most recent failure: Lost > >> task

Re: Filtering on multiple columns in spark

2020-04-29 Thread Mich Talebzadeh
Hi Zhang, Yes the SQL way worked fine val rejectedDF = newDF.withColumn("target_mobile_no", col("target_mobile_no").cast(StringType)). filter("length(target_mobile_no) != 10 OR substring(target_mobile_no,1,1) != '7'") Many thanks, Dr Mich Talebzadeh LinkedIn *

Re: Filtering on multiple columns in spark

2020-04-29 Thread ZHANG Wei
AFAICT, maybe Spark SQL built-in functions[1] can help as below: scala> df.show() ++---+ | age| name| ++---+ |null|Michael| | 30| Andy| | 19| Justin| ++---+ scala> df.filter("length(name) == 4 or substring(name, 1, 1) == 'J'").show() +---+--+ |age| name|

Re: Converting a date to milliseconds with time zone in Scala Eclipse IDE

2020-04-29 Thread Som Lima
Also you may be surprised to learn that I started programming in scala just yesterday. I was really please I had a challenge to solve rather than copying example programmes which can be boring. Judging from answers received I think some may find this information useful. I used a scala specific

Re: Filtering on multiple columns in spark

2020-04-29 Thread Som Lima
>From your email the obvious seems to be that 10 is an Int because it is not surrounded in quotes "" 10 should be "10". Although I can't image a telephone number with only 10 because that is what you are trying to program. In *Scala*, you can check *if *two operands *are equal* ( == ) or *not*

unsubscribe

2020-04-29 Thread Zeming Yu
unsubscribe Get Outlook for Android

Filtering on multiple columns in spark

2020-04-29 Thread Mich Talebzadeh
Hi, Trying to filter a dataframe with multiple conditions using OR "||" as below val rejectedDF = newDF.withColumn("target_mobile_no", col("target_mobile_no").cast(StringType)). filter(length(col("target_mobile_no")) !== 10 || substring(col("target_mobile_no"),1,1) !==

Unsubscribe

2020-04-29 Thread Yotto Koga
unsubscribe

Re: OFFICIAL USA REPORT TODAY India Most Dangerous : USA Religious Freedom Report out TODAY

2020-04-29 Thread Zahid Amin
EVIL PROSPERS ONLY WHEN GOOD MEN DO NOTHING. I have done some good today. I unveiled Evil. FACT: 10 million Kasmiris Muslim and Chinese on Lockdown since August 2019. FACT : Citizen Amendment Bill Cast out non Hindu from India Beginning with Muslims. FACT: OFFICIAL USA Report Religious

Re: [Structured Streaming] NullPointerException in long running query

2020-04-29 Thread Shixiong(Ryan) Zhu
The stack trace is omitted by JVM when an exception is thrown too many times. This usually happens when you have multiple Spark tasks on the same executor JVM throwing the same exception. See https://stackoverflow.com/a/3010106 Best Regards, Ryan On Tue, Apr 28, 2020 at 10:45 PM lec ssmi

Re: How can I add extra mounted disk to HDFS

2020-04-29 Thread JB Data31
Use Hadoop NFSv3 gateway to mount FS. @*JB*Δ Le mar. 28 avr. 2020 à 23:18, Chetan Khatri a écrit : > Hi Spark Users, > > My spark job gave me an error No Space left on the device >

Unsubscribe

2020-04-29 Thread Deepak Sharma
-- Thanks Deepak www.bigdatabig.com www.keosha.net

Re: OFFICIAL USA REPORT TODAY India Most Dangerous : USA Religious Freedom Report out TODAY

2020-04-29 Thread Deepak Sharma
I am unsubscribing until these hatemongers like Zahid Amin are removed or blocked . FYI Zahid Amin , Indian govt rejected the false report already . On Wed, 29 Apr 2020 at 11:58 AM, Gaurav Agarwal wrote: > Spark moderator supress this user please. Unnecessary Spam or apache spark > account is

Re: OFFICIAL USA REPORT TODAY India Most Dangerous : USA Religious Freedom Report out TODAY

2020-04-29 Thread Gaurav Agarwal
Spark moderator supress this user please. Unnecessary Spam or apache spark account is hacked ? On Wed, Apr 29, 2020, 11:56 AM Zahid Amin wrote: > How can it be rumours ? > Of course you want to suppress me. > Suppress USA official Report out TODAY . > > > Sent: Wednesday, April 29, 2020 at

OFFICIAL USA REPORT TODAY India Most Dangerous : USA Religious Freedom Report out TODAY

2020-04-29 Thread Zahid Amin
How can it be rumours ? Of course you want to suppress me. Suppress USA official Report out TODAY . > Sent: Wednesday, April 29, 2020 at 8:17 AM > From: "Deepak Sharma" > To: "Zahid Amin" > Cc: user@spark.apache.org > Subject: Re: India Most Dangerous : USA Religious Freedom Report > > Can

Re: India Most Dangerous : USA Religious Freedom Report out Today

2020-04-29 Thread Zahid Amin
> Sent: Wednesday, April 29, 2020 at 8:17 AM > From: "Deepak Sharma" > To: "Zahid Amin" > Cc: user@spark.apache.org > Subject: Re: India Most Dangerous : USA Religious Freedom Report > > Can someone block this email ? > He is spreading rumours and spamming. > > On Wed, 29 Apr 2020 at 11:46 AM,

Re: India Most Dangerous : USA Religious Freedom Report

2020-04-29 Thread Deepak Sharma
Can someone block this email ? He is spreading rumours and spamming. On Wed, 29 Apr 2020 at 11:46 AM, Zahid Amin wrote: > USA report states that India is now the most dangerous country for Ethnic > Minorities. > > Remember Martin Luther King. > > >

India Most Dangerous : USA Religious Freedom Report

2020-04-29 Thread Zahid Amin
USA report states that India is now the most dangerous country for Ethnic Minorities. Remember Martin Luther King. https://www.mail.com/int/news/us/9880960-religious-freedom-watchdog-pitches-adding-india-to.html#.1258-stage-set1-3 It began with Kasmir and still in locked down Since August