Hi, Mtibaa.
I have just cloned, executed HBase (downloaded ...-bin.tgz), compiled gora
(mvn package -DskipTests) and the parse does not give me any error.
What java version are you using? I used 1.6 and 1.7.
Does your LogManager.java have 'SimpleDateFormat("dd/MMM/yyyy:HH:mm:ss Z")'
as formatter?
Regards,
Alfonso Nishikawa
2015-03-04 10:22 GMT-01:00 Mtibaa Wael <[email protected]>:
> Hi all,
>
> I'm working on your tutorial, but I found this when compiling:
>
> hduser@Wael-MTIBAA:~/apache-gora-0.6$ bin/gora logmanager -parse
> gora-tutorial/src/main/resources/access.log
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
>
> [jar:file:/home/hduser/apache-gora-0.6/gora-tutorial/lib/slf4j-log4j12-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
>
> [jar:file:/home/hduser/apache-gora-0.6/gora-tutorial/lib/slf4j-simple-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> INFO log.LogManager - Parsing
> file:gora-tutorial/src/main/resources/access.log
> Exception in thread "main" java.text.ParseException: Unparseable date:
> "10/Mar/2009:20:39:14 +0200"
> at java.text.DateFormat.parse(DateFormat.java:357)
> at
> org.apache.gora.tutorial.log.LogManager.parseLine(LogManager.java:110)
> at
> org.apache.gora.tutorial.log.LogManager.parse(LogManager.java:87)
> at
> org.apache.gora.tutorial.log.LogManager.main(LogManager.java:241)
>
> I need help please.
> Thank you
>
> --
>
> *Wael MTIBAA*
>