Author: webgeek
-
MySQL Error: 1062 'Duplicate entry' Error
Written by
on
The all too common MySQL ‘Duplicate entry’ Error. mysql> show slave status\G; *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: master-mysql.local Master_User: repl Master_Port: 3306 Connect_Retry:…
-
Installing MariaDB 10.1 on CentOS 6.8
Written by
on
MariaDB is a fork of the MySQL; it is notable for being led by the original developers of MySQL and is community-developed. The original developers forked it due to concerns…
-
Linux Mint
Written by
on
Linux Mint is a community-driven Linux distribution based on the popular Ubuntu and Debian. Initially released on August 10, 2006, and with ten years to grow, it has become one…
-
Querying Apache Hadoop Resource Manager with Python.
Written by
on
Querying Apache Hadoop Resource Manager with Python. I was recently asked to write a script that would monitor the running application on the Apache Hadoop Resource Manager. I wonder over…
-
Resizing InnoDB Logs
Written by
on
If you have already created your database and you change the setting for “innodb_log_file_size=###M” and restart here you database and get an error that looks something like InnoDB: Error: log…
-
MongoDB Script for counting records in collections in all the databases
Written by
on
Here is a quick script. I wrote for a co-worker. var host = “localhost” var port = 27000 var dbslist = db.adminCommand(‘listDatabases’); for( var d = 0; d < dbslist.databases.length;…
-
Apache Oozie – Shell Script Example.
Written by
on
Recently I needed the ability to allow a user to submit jobs that required them to pass arguments to a shell script. While it’s easy enough to submit a job using…
-
-
Disable 70-persistent-net.rules generation on CentOS 6 VM
Written by
on
If you’re like me you probably have an environment that is running on some virtual platform and like everyone else you have built a template to spin Linux systems. One…
-
Connecting Tableau to DataStax Cassandra with Cassandra CQL ODBC.
Written by
on
Recently, I did some testing with Tableau Desktop connecting to DataStax Cassandra using their newly released DataStax ODBC driver. Before the release of the DataStax ODBC driver, the only way to…