Waling vs wailing vs whaling upon

Solution 1:

"Whale" is standard in this kind of context. There is another question about it with some more information: Using "whale" as a verb

A side note: I have seen "on" used more often than "upon" in this expression. "Away" is also possible. Apparently, it can also be used as a transitive verb with a direct object.

Unfortunately, as Jim says, the spelling you have been accustomed to use ("wail") seems the least defensible from a prescriptive point of view. It has been noted in an entry on the eggcorn database: whale » wail.

The OED entry for whale, v.2 provides the following information:

  • Of obscure origin. Commonly regarded as a spelling of wale v.1, but there are difficulties of form, chronology, and meaning. Perhaps originally = to thrash with a whalebone whip (see whalebone n. 3b).

    Now U.S. colloq.

    1. trans. To beat, flog, thrash.

      1790 F. Grose Provinc. Gloss. (ed. 2) Whale, to beat with a horsewhip or pliant stick.

    1. transf. intr. To do something implied by the context continuously or vehemently.

      a1852 F. M. Whitcher Widow Bedott Papers (1883) vi. 67 You remember that one that come round a spell ago a whalin' away about human rights.

So the primary spelling seems to be whale, but it seems there could be an etymological argument for spelling it wale (if it is connected to the word wale, meaning a raised line or ridge, the source of the word weal). That said, I haven't seem any evidence indicating that the spelling wale is used in practice in any carefully edited works. It doesn't seem to show up on the Google Ngram Viewer:

Ngrams not found: wale away at, wale on him, wail on him, wale him

(I assume "wail away at" and "wail him" show up because of the other, more legitimate uses of the spelling "wail".)

Solution 2:

The two term are easily confused because of their pronunciation:

Whale vs wail (and wale):

  • A whale is a large marine mammal, one of the larger cetacean mammals that has flippers, a streamlined body and a blowhole. Whale may also be used as an adjective to signify something outstanding or impressive. Whale is also used as a verb to mean to thrash soundly, to beat upon, or to go fishing for whales. The word whale is derived from the Old English word hwæl.

Wail

  • A wail is a high-pitched cry of grief, anger or pain. Wail may be used as a noun or a verb, related words are wails, wailed, wailing, wailful, wailfully, wailingly, wailer. Wail is also used by American Jazz musicians to mean to play well. Wail comes from the Old Norse word væla, which means to lament.

(The Grammarist)

to Whale on:

To strike or hit someone or something repeatedly and forcefully;

  • thrash someone or something: The street gangs whaled on each other until someone called the police.

(AHD)