240
收录了3920篇文章 ·4311个问题 · 0人关注
0

How to access lookup(broadcast) RDD(or dataset) in

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Iamnewtosparkandscalaandjuststartedlearning...Iamusingspark1.0.0onCDH5.1.3 Igotabroadcastedrddna......

0

Task not serializable while using custom dataframe

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IamfacingastrangeissuewithScala/Spark(1.5)andZeppelin: IfIrunthefollowingScala/Sparkcode,itwillrunpr......

0

Array of JSON to Dataframe in Spark received by Ka

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: I'mwritingaSparkapplicationinScalausingSparkStructuredStreamingthatreceivesomedataformattedinJSONstyle......

0

Kafka + Spark Streaming: constant delay of 1 secon

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: EDIT2:FinallyIhavemademyownproducerusingJavaanditworkswell,sotheproblemisintheKafka-console-producer.......

0

spark.task.maxFailures not working as expected

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IamrunningaSparkjobwithspark.task.maxFailuressetto1,andaccordingtotheofficialdocumentation: spark.task.m......

0

How to remove NULL and empty for a particular colu

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Iwouldliketoremoverecordsfromadataframehavingdemo_nameasNULLanddemo_nameasempty. demo_nameisacolumni......

0

Submit an application property file with Spark typ

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Please,Ineedyourhelp,I'mtryingtosubmitanexternalconfigurationfileformysparkapplicationusingtypesafecon......

0

How to refer broadcast variable in Spark DataFrame

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IhavethefollowingSparkSQL: valresultDf=spark.sql("SELECTname,phone,countryFROMusers") I'dliketofilterr......

0

Why RDD calculating count take so much time

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: (Englishisnotmyfirstlanguagesopleaseexcuseanymistakes) IuseSparkSQLreading4.7TBdatafromhivetable,and......

0

Dropping the first and last row of an RDD with Spa

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: I'mreadinginatextfileusingsparkwithsc.textFile(fileLocation)andneedtobeabletoquicklydropthefirstandl......

0

How Spark internally works when reading HDFS files

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: SayIhaveafileof256KBisstoredonHDFSfilesystemofonenode(astwoblocksof128KBeach).Thisfileinternal......

0

filter spark dataframe based on maximum value of a

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Iwanttodosomethinglikethis: df .withColumn("newCol",<someformula>) .filter(s"""newCol>${(math.min(max("ne...

0

How can I monitor memory and CPU usage by spark ap

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Afterrunningmysparkapplication,Iwanttomonitoritsmemoryandcpuusagetoevaluateitsperformancebutcouldn'tf......

0

What is the maximum number of case class fields in

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Itusedtobe22,Iheardsomeonesayit'snow512?Isthatcorrect?Cansomeoneprovideasource. 回答1: InScala......

0

Spark Structured Streaming + Kafka Integration: Mi

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IamusingSparkStructuredStreamingtoprocesstheincomingandoutgoingdatastreamsfromandtoApacheKafkarespecti......

0

Convert a Spark Vector of features into an array

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IhaveafeaturescolumnwhichispackagedintoaVectorofvectorsusingSpark'sVectorAssembler,asfollows.dataisth......

0

How to convert spark streaming output into datafra

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Mycodeis: vallines=KafkaUtils.createStream(ssc,"localhost:2181","spark-streaming-consumer-group",Map("hello"->....

0

How to find an optimized join between 2 different

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Ihavea2differentdatasets,Iwouldliketojointhem,butthereisnoeasywaytodoitbecausetheydon'thaveacom......

0

Expand array-of-structs into columns in PySpark

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: IhaveaSparkdataframe,originatingfromGoogleAnalytics,thatlookslikethefollowing: idcustomDimensions(Arr......

0

aws access s3 from spark using IAM role

可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):问题: Iwanttoaccesss3fromspark,Idon'twanttoconfigureanysecretandaccesskeys,Iwanttoaccesswithconfiguringt......