Archivo del Autor: Xallam

Symfony and Mac

After getting this beautiful error: Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /some/path/here/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php on line 470 PDO Connection Error: SQLSTATE[HY000] [2002] No such file or directory Some solutions says that first you need … Sigue leyendo

Publicado en Symfony | Etiquetado , | Deja un comentario

Clear terminal on ANSI way.

After searching for a way of clearing the terminal (or console, as you prefer), I found this post «Language Agnostic Clearing of Console Screen: Without clear() or cls()«. It’s a pretty good option, easy and without complicated tricks to do … Sigue leyendo

Publicado en Links | Etiquetado , , , | Deja un comentario

ERROR 4010: Cannot find hadoop configurations in classpath

Setting up pig for e2e tests isn’t a daily-work task, it requires patience and sometimes more patience. Let me first explain the situation: Hadoop 1.0.1-SNAPSHOT, Apache Pig version 0.10.0-SNAPSHOT (r1156275) and Pig version 0.8.1 (obviously, you need an old towards tests). One … Sigue leyendo

Publicado en Hadoop, Pig | Etiquetado , , , | Deja un comentario

ERROR 2999: Unexpected internal error. Failed to create DataStorage

After some days looking for how to solve this annoying exception: ERROR 2999: Unexpected internal error. Failed to create DataStorage I think that this is best solution (after all is on Apache-FAQ): Apache – FAQ – Q: What shall I do … Sigue leyendo

Publicado en Hadoop, Pig | Etiquetado , , , , | Deja un comentario

Hadoop can’t replicate to nodes

«org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:aavendan cause:java.io.IOException: File /usr/local/hadoop/tmp/hadoop-aavendan/mapred/system/jobtracker.info could only be replicated to 0 nodes, instead of 1» This exception was thrown twice during my tests, looks weird (because I´m working in a local node, so no reason!) After looking for around … Sigue leyendo

Publicado en Hadoop, Varios | Etiquetado , | Deja un comentario