类似的问题如何使用经过身份验证的代理sbt?.我尝试了给定的答案和问题仍在那里.
当我在终端中运行sbt时,它会显示并停留在:
Getting org.scala-sbt sbt 0.13.6 ...
Run Code Online (Sandbox Code Playgroud)
附加信息:
sbt --version
sbt launcher version 0.13.6
Run Code Online (Sandbox Code Playgroud)
我该怎么办呢?
我在IntelliJ,JDK1.8,maven 3.2.5中使用maven.编译错误:使用-source 7或更高版本启用钻石歌剧.详情如下:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] TrainingConstructor.java:[31,55] diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)
[ERROR] DTM.java:[79,21] try-with-resources is not supported in -source 1.5 (use -source 7 or higher to enable try-with-resources)
[ERROR] ticons.java:[53,44] diamond operator is not supported in -source 1.5 (use -source 7 or higher to enable diamond operator)
Run Code Online (Sandbox Code Playgroud)
有什么建议?是否有其他配置来设置此-source级别?好像它不使用java 1.8.
如何命名,我怎么知道CentOS中安装了哪个版本的火花?
当前系统已安装cdh5.1.0.
我的df如下:
a <- data_frame(keep=c("hello", "world"),drop = c("nice", "work"))
a
Source: local data frame [2 x 2]
keep drop
(chr) (chr)
1 hello nice
2 world work
Run Code Online (Sandbox Code Playgroud)
我可以使用a %>% select(-drop)
删除列没有问题.但是,如果我想将变量传递给present drop
列,则返回错误.
name <- "drop"
a %>% select(-(name))
Error in -(name) : invalid argument to unary operator
Run Code Online (Sandbox Code Playgroud) 我的笔记本显示在Bitbucket网页上的原始Json文本中.我希望它能够为我的合作者渲染一个jupyter笔记本
任何人都知道我如何看待像Jupyter笔记本中的笔记本?
在致命错误编译中发布的类似问题:无效目标版本:1.8 - > [帮助1] 但是,在我使用解决方案检查我的设置后问题仍未解决.详情如下.
Maven错误消息是:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project: Fatal error compiling: invalid target release: 1.8 -> [Help 1]
Run Code Online (Sandbox Code Playgroud)
我的JAVA_HOME设置是:
C:\Program Files\Java\jdk1.8.0_40
Run Code Online (Sandbox Code Playgroud)
Java -version:
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Run Code Online (Sandbox Code Playgroud)
我已经为pom添加了编译细节.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud) 我正在使用已经安装了默认spark的cdh5.1.0.但是,我想使用Spark 1.3.我还可以将此版本安装到cdh5.1.0吗?怎么可能设置它们?是否还会通过Cloudera经理监控新版火花?
我有一个数据集,简化版如下:
input <- data_frame(key=c(1,2),Color=c("Red,Green","Blue,Red"))
input
key Color
1 Red,Green
2 Blue,Red
Run Code Online (Sandbox Code Playgroud)
我想使用Color列创建额外的功能,如下所示:
key Color.Red Color.Green Color.Blue
1 TRUE TRUE FALSE
2 TRUE FALSE TRUE
Run Code Online (Sandbox Code Playgroud)
在R中如何做到这一点?我正在研究重塑方法.但似乎这是一个不同的情况.
java ×3
apache-spark ×2
cloudera-cdh ×2
dplyr ×2
maven ×2
maven-3 ×2
r ×2
bitbucket ×1
sbt ×1
windows ×1