The robot at the Maz Kanata’s castle:
The eye looks like the HAL’s eye from 2001: A Space Odyssey one; HAL’s “eye” to the right of this screenshot:
Science Fiction & Fantasy Stack Exchange is a question and answer site for science fiction and fantasy enthusiasts. It only takes a minute to sign up.Sign up to join this community
The robot at Maz Kanata's has a single red-tinged eye. In this respect it resembles HAL 9000 just as much as BB-8 does.
R2-D2 is another cyclopic AI:
(Per the R2-D2 schematic linked in this question, I'm inclined to say the lenses to the bottom right of these astromechs' eyes are projectors, not second eyes.)
But it'd be quite a stretch to say that BB-8's or R2-D2's designs reference HAL 9000's. It's just that single eyes are a great look for AI no matter what galaxy you're in.
The robot at Maz's also has a body and walks around, which makes it hard to identify with HAL. HAL's whole thing was that he didn't have a corporeal presence; he permeated Discovery One and watched its human passengers with his numerous "eyes" around the ship. An effective and unambiguous homage to HAL 9000 would incorporate this somehow, as the Planet Express Ship's AI did in Love and Rocket: