Chief US District Judge apologized for forwarding a racist joke about President Obama to his friends.