<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>btaz</title>
	<atom:link href="http://www.btaz.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.btaz.com</link>
	<description>Promoting the art of coding</description>
	<lastBuildDate>Thu, 29 Mar 2012 03:01:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Los Angeles Hadoop Users Group- LA-HUG</title>
		<link>http://www.btaz.com/hadoop-2/los-angeles-hadoop-users-group-la-hug/</link>
		<comments>http://www.btaz.com/hadoop-2/los-angeles-hadoop-users-group-la-hug/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 16:35:42 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Hadoop]]></category>
		<category><![CDATA[cloudera]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hug]]></category>
		<category><![CDATA[la]]></category>
		<category><![CDATA[los angeles]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=191</guid>
		<description><![CDATA[LA now has its own HUG. The first meetup will be held on Wednesday 2/9/2011. This is a great opportunity for anyone in the Los Angeles area with interest in Hadoop and related technologies to discuss and meet. The first talk is:  &#8220;Operationalizing Hadoop&#8221; with Charles Zedlewski (Cloudera’s VP Product) http://www.meetup.com/LA-HUG/ Related posts:Hadoop World


Related posts:<ol><li><a href='http://www.btaz.com/misc/hadoop-world/' rel='bookmark' title='Permanent Link: Hadoop World'>Hadoop World</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>LA now has its own HUG. The first meetup will be held on Wednesday 2/9/2011. This is a great opportunity for anyone in the Los Angeles area with interest in Hadoop and related technologies to discuss and meet.</p>
<p>The first talk is:  &#8220;<a href="http://www.meetup.com/LA-HUG/events/16086495/">Operationalizing Hadoop</a>&#8221; with Charles Zedlewski (Cloudera’s VP Product)</p>
<p><a href="http://www.meetup.com/LA-HUG/">http://www.meetup.com/LA-HUG/</a></p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/misc/hadoop-world/' rel='bookmark' title='Permanent Link: Hadoop World'>Hadoop World</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/hadoop-2/los-angeles-hadoop-users-group-la-hug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fatal: The remote end hung up unexpectedly</title>
		<link>http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/</link>
		<comments>http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/#comments</comments>
		<pubDate>Tue, 16 Nov 2010 15:47:48 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[git push]]></category>
		<category><![CDATA[hung up]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[unexpectedly]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=187</guid>
		<description><![CDATA[I committed changes to my GIT project, tried to push them to the remote server (git push) and got the following cryptic error message: fatal: The remote end hung up unexpectedly The GitFaq states that: Git push fails with &#8220;fatal: The remote end hung up unexpectedly&#8221;? If, when attempting git push, you get a message [...]


Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
<li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I committed changes to my GIT project, tried to push them to the remote server (git push) and got the following cryptic error message:</p>
<p><span style="color: #0000ff;">fatal: The remote end hung up unexpectedly</span></p>
<p>The <a title="Git FAQ" href="https://git.wiki.kernel.org/index.php/GitFaq#Git_push_fails_with_.22fatal:_The_remote_end_hung_up_unexpectedly.22.3F">GitFaq</a> states that:</p>
<p><span style="color: #0000ff;">Git push fails with &#8220;fatal: The remote end hung up unexpectedly&#8221;?<br />
If, when attempting git push, you get a message that says:<br />
<em>fatal: The remote end hung up unexpectedly</em><br />
</span></p>
<p><span style="color: #0000ff;">There are a couple of reasons for that, but the most common is that  authorization failed. You might be using a git:// URL to push, which has no authorization  whatsoever and hence has write access disabled by default. Or you might be using an ssh URL, but  either your public key was not installed correctly, or your account does  not have write access to that repository/branch.</span></p>
<p>I used &#8220;git config &#8211;list&#8221; to review my project configuration</p>
<p><span style="color: #0000ff;">core.repositoryformatversion=0<br />
core.filemode=true<br />
core.bare=false<br />
core.logallrefupdates=true<br />
core.ignorecase=true<br />
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*<br />
remote.origin.url=git://git.some-domain.com/my-project<br />
branch.master.remote=origin<br />
branch.master.merge=refs/heads/master<br />
branch.v2.remote=origin<br />
branch.v2.merge=refs/heads/v2<br />
gui.geometry=1374&#215;727+34+82 301 201</span></p>
<p>The culprit here is the &#8220;remote.origin.url&#8221; property, it&#8217;s pointing to a read-only repository. We can change this using &#8220;git config &#8211;edit&#8221;. We want to change:</p>
<p><span style="color: #0000ff;">remote.origin.url=git://git.some-domain.com/my-project</span></p>
<p>to</p>
<p><span style="color: #0000ff;">remote.origin.url=git@git.some-domain.com:/my-project</span></p>
<p>Please note that the specific user &#8220;git&#8221; is specific to my setup and your GIT setup/configuration is most likely different. After this change I was able to successfully push my changes to the remote server.</p>
<p>The reason to why I got the read-only version of the project was because I used &#8220;git clone git://git.some-domain.com/my-project&#8221; when I should have used &#8220;git clone git@git.some-domain.com:/my-project&#8221;</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
<li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hadoop World</title>
		<link>http://www.btaz.com/misc/hadoop-world/</link>
		<comments>http://www.btaz.com/misc/hadoop-world/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 00:22:23 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[big data]]></category>
		<category><![CDATA[cloudera]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[hadoop world]]></category>
		<category><![CDATA[hbase]]></category>
		<category><![CDATA[hive]]></category>
		<category><![CDATA[pig]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=183</guid>
		<description><![CDATA[I just came back from the Hadoop World conference in New York and I have to say that it was quite exciting. Processing huge amounts of data used to be a problem for just a few companies like Google, Yahoo, Facebook and a few others, but has now become a problem for many. The conference [...]


Related posts:<ol><li><a href='http://www.btaz.com/hadoop-2/los-angeles-hadoop-users-group-la-hug/' rel='bookmark' title='Permanent Link: Los Angeles Hadoop Users Group- LA-HUG'>Los Angeles Hadoop Users Group- LA-HUG</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Hadoop Logo" src="http://upload.wikimedia.org/wikipedia/en/8/8a/Hadoop-logo.jpg" alt="" width="300" height="71" /></p>
<p>I just came back from the Hadoop World conference in New York and I have to say that it was quite exciting. Processing huge amounts of data used to be a problem for just a few companies like Google, Yahoo, Facebook and a few others, but has now become a problem for many. The conference topics were interesting and the training held by Cloudera was really good. My personal recommendation is to get up to speed on Hadoop and related technologies e.g. HBase, Hive, Pig etc. quickly since I think that the ever growing data sizes will soon make these tools commonplace. It takes time to learn how think at scale and to use these tools properly. I&#8217;ve now seen how &#8220;big data&#8221; has grown to such sizes that not even big clustered databases like Oracle RAC provide the ability to quickly process and extract information for our needs. Hadoop is not a universal tool for big data problems, but for a certain set of problems it&#8217;s quite powerful and provides almost linear performance as you scale up your compute cluster. Cloudera has excellent videos for Hadoop here: http://www.cloudera.com/resources/?media=Video to get you started. Tom White&#8217;s &#8220;<a title="Hadoop: The Definitive Guide" href="http://www.amazon.com/Hadoop-Definitive-Guide-Tom-White/dp/1449389732/ref=ntt_at_ep_dpi_1" target="_self">Hadoop: The Definitive Guide (2nd Edition)</a>&#8221; is excellent and I can highly recommend it.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/hadoop-2/los-angeles-hadoop-users-group-la-hug/' rel='bookmark' title='Permanent Link: Los Angeles Hadoop Users Group- LA-HUG'>Los Angeles Hadoop Users Group- LA-HUG</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/misc/hadoop-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order</title>
		<link>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/</link>
		<comments>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 15:57:49 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[multiple columns]]></category>
		<category><![CDATA[reverse]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[tab delimited]]></category>
		<category><![CDATA[tab separated]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=179</guid>
		<description><![CDATA[Sorting a tab delimited file using the Unix sort command is easy once you know which parameters to use. An advanced file sort can get difficult to define if it has multiple columns, uses tab characters as column separators, uses reverse sort order on some columns, and where you want the columns sorted in non-sequential [...]


Related posts:<ol><li><a href='http://www.btaz.com/unixlinux/how-to-automatically-provide-an-answer-to-unix-commands/' rel='bookmark' title='Permanent Link: How to automatically provide an answer to Unix commands'>How to automatically provide an answer to Unix commands</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sorting a tab delimited file using the Unix sort command is easy once you know which parameters to use. An advanced file sort can get difficult to define if it has multiple columns, uses tab characters as column separators, uses reverse sort order on some columns, and where you want the columns sorted in non-sequential order.</p>
<p>Assume that we have the following file where each column is separated by a [TAB] character:</p>
<pre>Group-ID   Category-ID   Text        Frequency
----------------------------------------------
200        1000          oranges     10
200        900           bananas     5
200        1000          pears       8
200        1000          lemons      10
200        900           figs        4
190        700           grapes      17</pre>
<p>I&#8217;d like to have this file sorted by these columns and in this specific order. I want column 4 sorted before column 3, and column 4 to be sorted in reverse order:</p>
<ul>
<li>Group ID (integer)</li>
<li>Category ID (integer)</li>
<li>Frequency &#8220;sorted in reverse order&#8221; (integer)</li>
<li>Text (alpha-numeric)</li>
</ul>
<p>I want the file sorted this way:</p>
<pre>Group-ID   Category-ID   Text        Frequency
----------------------------------------------
190        700           grapes      17
200        900           bananas     5
200        900           figs        4
200        1000          lemons      10
200        1000          oranges     10
200        1000          pears       8</pre>
<p>To sort the file that way we have to define the sort parameters like this:</p>
<pre>sort -t $'\t' -k 1n,1 -k 2n,2 -k4rn,4 -k3,3 &lt;my-file&gt;</pre>
<p>The first thing we need to do is to tell sort to use TAB as a column separator (column separated or delimited) which we can do using:</p>
<pre>sort -t $'\t' &lt;my-file&gt;</pre>
<p>If our input file was comma separated we could have used:</p>
<pre>sort -t "," &lt;my-file&gt;</pre>
<p>The next step is define that we want the file sorted by columns 1, 2, 4 and 3 and in this particular order. The key argument &#8220;-k&#8221; allows us to do this. The tricky part is that you have to define the column index twice to limit the sort to any given column, e.g. like this &#8220;-k 1,1&#8243;. If you only specify it once like this &#8220;-k 1&#8243; you&#8217;re telling Unix &#8220;sort&#8221; to sort the file from column 1 and until the end of the line which is not what we want. If you want to sort column 1 and 2 together you&#8217;d use &#8220;-k 1,2&#8243;.  To tell sort to sort multiple columns we have to define the key argument &#8220;-k&#8221; multiple times. The sort arguments required to sort our file in column order 1, 2, 4 and 3 will therefore look like this:</p>
<pre>sort -t $'\t' -k 1,1 -k 2,2 -k 4,4 -k 3,3 &lt;my-file&gt;</pre>
<p>We however want the 4th column sorted in reverse order. We instruct sort to do by changing the argument from &#8220;-k 4,4&#8243; to &#8220;-k 4r,4&#8243;. The &#8220;r&#8221; option reverses the sort order for that column only. There&#8217;s only one problem left to solve and that is that sort by default will interpret numbers as text and will sort e.g.  the number 10 ahead of 2. We solve this by adding the &#8220;n&#8221; option to tell &#8220;sort&#8221; to sort a column using its numerical values e.g. &#8220;-k 1n,1&#8243;. Note that the &#8220;n&#8221; option is only attached to the first number to the left of the comma. Since the 4th column is sorted in both reversed order and using numerical values we can combine the options like this &#8220;-k 4rn,4&#8243;</p>
<p>So by adding all of these options together with end up with:</p>
<pre>sort -t $'\t' -k 1n,1 -k 2n,2 -k 4rn,4 -k 3,3 &lt;my-file&gt;</pre>
<p>I hope someone will find this useful. I tested this solution on both Linux and OS X. The documentation for the Unix sort command can be found using your man command &#8220;man sort&#8221; and &#8220;info sort&#8221;.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/unixlinux/how-to-automatically-provide-an-answer-to-unix-commands/' rel='bookmark' title='Permanent Link: How to automatically provide an answer to Unix commands'>How to automatically provide an answer to Unix commands</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/unixlinux/unixlinux-sort-multiple-columns-tab-delimited-and-reverse-sort-order/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>ls full path</title>
		<link>http://www.btaz.com/unixlinux/ls-full-path/</link>
		<comments>http://www.btaz.com/unixlinux/ls-full-path/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 17:01:58 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Unix/Linux]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[path]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=168</guid>
		<description><![CDATA[How do you get the Unix command ls to show you the full path? Unfortunately there&#8217;s no argument for ls that will do this directly. However this will work fine and give you what you want. ls -d $PWD/* or ls -ld $PWD/* No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>How do you get the Unix command ls to show you the full path? Unfortunately there&#8217;s no argument for ls that will do this directly.<br />
However this will work fine and give you what you want.</p>
<p>ls -d $PWD/*</p>
<p>or</p>
<p>ls -ld $PWD/*</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/unixlinux/ls-full-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Window Stuck Under Toolbar in OS X</title>
		<link>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/</link>
		<comments>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 17:13:41 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[OS X / Apple OS]]></category>
		<category><![CDATA[can't move]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[stuck]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[under]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=165</guid>
		<description><![CDATA[Sometimes a window can get stuck under the top toolbar in OS X. This often happens when I use Citrix in OS X to run Windows applications. When this happens it&#8217;s not possible to grab the window nor  to close it. A simple solution for this is to press [fn] [shift] [F2] which will move [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Sometimes a window can get stuck under the top toolbar in OS X. This often happens when I use Citrix in OS X to run Windows applications. When this happens it&#8217;s not possible to grab the window nor  to close it. A simple solution for this is to press [fn] [shift] [F2] which will move the application window a bit which allows you to grab it.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/os-x-apple-os/window-stuck-under-toolbar-in-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fatal: git checkout: updating paths is incompatible with switching branches.</title>
		<link>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/</link>
		<comments>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 18:16:09 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[git checkout fatal updating paths incompatible switching branches]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=162</guid>
		<description><![CDATA[Using GIT I tried to pull down a new remote branch using: git checkout --track -b my-branch-name origin/my-branch-name When I did this I got this error message: fatal: git checkout: updating paths is incompatible with switching branches. Did you intend to checkout 'origin/my-branch-name' which can not be resolved as commit? This error message was a [...]


Related posts:<ol><li><a href='http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/' rel='bookmark' title='Permanent Link: fatal: The remote end hung up unexpectedly'>fatal: The remote end hung up unexpectedly</a></li>
<li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Using GIT I tried to pull down a new remote branch using:</p>
<pre>git checkout --track -b my-branch-name origin/my-branch-name</pre>
<p>When I did this I got this error message:</p>
<pre>fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'origin/my-branch-name' which can not be resolved as commit?</pre>
<p>This error message was a tad confusing. The solution in my case was simple though, apparently you can&#8217;t switch to a different remote branch if your local master is not up-to-date with the remote origin/master so performing:</p>
<pre>git pull</pre>
<p>resolved the issue and after this I was able to successfully pull down the remote branch.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/' rel='bookmark' title='Permanent Link: fatal: The remote end hung up unexpectedly'>fatal: The remote end hung up unexpectedly</a></li>
<li><a href='http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/' rel='bookmark' title='Permanent Link: GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists'>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DbVisualizer auto commit problem</title>
		<link>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/</link>
		<comments>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 16:47:30 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[JDBC]]></category>
		<category><![CDATA[auto commit]]></category>
		<category><![CDATA[DbVisualizer]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=157</guid>
		<description><![CDATA[I had some issues with DbVisualizer and auto commit. I wanted to be able to turn it off from the SQL commander. The official documentation states that you can do this using: The Auto Commit setting is enabled by default and can be adjusted in the Connection Properties. You may also adjust the  auto commit [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I had some issues with DbVisualizer and auto commit. I wanted to be able to turn it off from the SQL commander. The official documentation states that you can do this using:</p>
<p><span style="color: #0000ff;">The Auto Commit setting is enabled by default and can be adjusted in the Connection Properties. You may also adjust the  auto commit state for the SQL editor you are using in the SQL Commander with the following command:</span></p>
<p>@set autocommit true/false</p>
<p>Unfortunately this didn&#8217;t work for  me in either 6.5.12 or 7.04 (I&#8217;m using OS X and Java 6) against an Oracle 10g database. I get an error alert stating &#8220;/application/set autocommit false (No such file or directory)&#8221;<br />
I was finally able to figure out that you can get it to work using:</p>
<p><span style="color: #0000ff;">@set autocommit off/on</span></p>
<p>I&#8217;m not sure if this is a problem that only occur on OS X.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GIT Fatal You Have not Concluded Your Merge MERGE_HEAD Exists</title>
		<link>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/</link>
		<comments>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 06:23:15 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[fatal]]></category>
		<category><![CDATA[MERGE_HEAD exists]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=152</guid>
		<description><![CDATA[fatal: You have not concluded your merge. (MERGE_HEAD exists) I got this message because when I performed a &#8220;git pull&#8221;. I searched for a solution for this problem on the Internet and it wasn&#8217;t until I found this post that I was able to resolve this issue. The problem was that I: Performed a &#8220;git [...]


Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
<li><a href='http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/' rel='bookmark' title='Permanent Link: fatal: The remote end hung up unexpectedly'>fatal: The remote end hung up unexpectedly</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>fatal: You have not concluded your merge. (MERGE_HEAD exists)</p>
<p>I got this message because when I performed a &#8220;git pull&#8221;. I searched for a solution for this problem on the Internet and it wasn&#8217;t until I found this <a title="git merge issue patch" href="http://lists.zerezo.com/git/msg692855.html">post</a> that I was able to resolve this issue. The problem was that I:</p>
<ol>
<li>Performed a &#8220;git pull&#8221; and the automatic merge failed and I ended up with merge conflicts</li>
<li>I resolved the merge conflicts and added the resolved files back using &#8220;git add&#8221;</li>
<li>Performed a new &#8220;git pull&#8221; and got the &#8220;Fatal You Have not Concluded Your Merge MERGE_HEAD Exists&#8221; error</li>
</ol>
<p>Apparently step 3 overrides MERGE_HEAD, starting a new merge with a dirty index. According to the post this is a common mistake made by programmers that are used to version control systems where the user follows an &#8220;update&#8221; and &#8220;commit&#8221; work flow.</p>
<p>So how do we resolve this issue? What worked for me was to follow the instructions for how to &#8220;Undo a merge or pull inside a dirty work tree&#8221; found <a title="Undo a merge or pull inside a dirty work tree" href="http://www.kernel.org/pub/software/scm/git/docs/git-reset.html">here</a>.</p>
<ol>
<li>I used &#8220;git reset &#8211;merge ORIG_HEAD&#8221;</li>
<li>I resolved the merge conflicts again and added the resolved files back using &#8220;git add&#8221;</li>
<li>I was then finally able to &#8220;push&#8221; my changes!</li>
</ol>
<p>According to the documentation if you run a &#8220;git reset &#8211;hard ORIG_HEAD&#8221; it will let you go back to where you were before you were trying to commit your changes, however you will lose local changes. Most likely not what you want to do. Using &#8220;git reset &#8211;merge&#8221; will let you keep your local changes. You will however have to re-resolve your conflicting merge files.</p>
<p>Some additional information on this topic can be found <a title="refuse to merge during a merge" href="http://n2.nabble.com/PATCH-refuse-to-merge-during-a-merge-td2983703.html">here</a>.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/scm/git/fatal-git-checkout-updating-paths-is-incompatible-with-switching-branches/' rel='bookmark' title='Permanent Link: fatal: git checkout: updating paths is incompatible with switching branches.'>fatal: git checkout: updating paths is incompatible with switching branches.</a></li>
<li><a href='http://www.btaz.com/misc/fatal-the-remote-end-hung-up-unexpectedly/' rel='bookmark' title='Permanent Link: fatal: The remote end hung up unexpectedly'>fatal: The remote end hung up unexpectedly</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/scm/git/git-fatal-you-have-not-concluded-your-merge-merge_head-exists/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SQL*Loader-522: lfiopn failed for file (loader.log)</title>
		<link>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/</link>
		<comments>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 20:39:36 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[522]]></category>
		<category><![CDATA[lfiopn]]></category>
		<category><![CDATA[SQL Loader]]></category>

		<guid isPermaLink="false">http://www.btaz.com/?p=150</guid>
		<description><![CDATA[I used the Oracle SQL Loader to push some data into a table and got the following error: SQL*Loader-522: lfiopn failed for file (loader.log) This somewhat cryptic error message turned out to be that Oracle SQL Loader didn&#8217;t have write permissions in the work directory i.e. in the directory where I executed the sqlldr command. [...]


Related posts:<ol><li><a href='http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/' rel='bookmark' title='Permanent Link: DbVisualizer auto commit problem'>DbVisualizer auto commit problem</a></li>
<li><a href='http://www.btaz.com/unixlinux/ls-full-path/' rel='bookmark' title='Permanent Link: ls full path'>ls full path</a></li>
<li><a href='http://www.btaz.com/scm/svn-inconsistent-line-ending-style-when-trying-to-commit-a-binary-file/' rel='bookmark' title='Permanent Link: svn: Inconsistent line ending style when trying to commit a binary file'>svn: Inconsistent line ending style when trying to commit a binary file</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I used the Oracle SQL Loader to push some data into a table and got the following error: SQL*Loader-522: lfiopn failed for file (loader.log)<br />
This somewhat cryptic error message turned out to be that Oracle SQL Loader didn&#8217;t have write permissions in the work directory i.e. in the directory where I executed the sqlldr command. Once I fixed the directory permission everything worked just fine.</p>


<p>Related posts:<ol><li><a href='http://www.btaz.com/java/jdbc/dbvisualizer-auto-commit-problem/' rel='bookmark' title='Permanent Link: DbVisualizer auto commit problem'>DbVisualizer auto commit problem</a></li>
<li><a href='http://www.btaz.com/unixlinux/ls-full-path/' rel='bookmark' title='Permanent Link: ls full path'>ls full path</a></li>
<li><a href='http://www.btaz.com/scm/svn-inconsistent-line-ending-style-when-trying-to-commit-a-binary-file/' rel='bookmark' title='Permanent Link: svn: Inconsistent line ending style when trying to commit a binary file'>svn: Inconsistent line ending style when trying to commit a binary file</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.btaz.com/databases/oracle/sqlloader-522-lfiopn-failed-for-file-loader-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

