linux - uap-parser from git on Amazon EMR -


im new scala , dont know how go this. in r 1 need install git repo is:

install_github(...) 

i need install https://github.com/ua-parser/uap-scala on amazon emr,this have done far:

// install sbt     sudo yum -y install sbt  //install git sudo yum -y install git  // clone git repo git clone https://github.com/ua-parser/uap-scala.git  //go path scala files located cd uap-scala/src/main/scala/ua/parser  sbt compile 

i following error:

> compile [info] compiling 8 scala sources /home/hadoop/uap-scala/src/main/scala/ua/parser/target/scala-2.10/classes... [error] /home/hadoop/uap-scala/src/main/scala/ua/parser/cachingparser.scala:5: object twitter not member of package com [error] import com.twitter.util.lrumap [error]            ^ [error] /home/hadoop/uap-scala/src/main/scala/ua/parser/cachingparser.scala:8: not found: type lrumap [error]   lazy val clients = new lrumap[string, client](size) [error]                          ^ [error] /home/hadoop/uap-scala/src/main/scala/ua/parser/parser.scala:5: object yaml not member of package org [error] import org.yaml.snakeyaml.yaml [error]            ^ [error] /home/hadoop/uap-scala/src/main/scala/ua/parser/parser.scala:20: not found: type yaml [error]     val yaml = new yaml(new safeconstructor) [error]                    ^ [error] /home/hadoop/uap-scala/src/main/scala/ua/parser/parser.scala:6: object yaml not member of package org [error] import org.yaml.snakeyaml.constructor.safeconstructor [error]            ^ [error] 5 errors found [error] (compile:compileincremental) compilation failed 

it looks dependency problem.how install theses dependencies? please guide on how resolve this. there example has set up?


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -